summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 3814e39a..e303ac9a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1174,7 +1174,8 @@ this could happen if you mounted manually the directory when creating the medium
}
-e "$urpm->{cachedir}/partial/$medium->{hdlist}" && -s _ > 32 or
- $error = 1, $urpm->{error}(N("copy of [%s] failed (file is suspiciously small)", $with_hdlist_dir));
+ $error = 1, $urpm->{error}(N("copy of [%s] failed (file is suspiciously small)",
+ "$urpm->{cachedir}/partial/$medium->{hdlist}"));
#- keep checking md5sum of file just copied ! (especially on nfs or removable device).
if (!$error && $retrieved_md5sum) {