diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/download.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index 7da27ca3..1520bdda 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -157,8 +157,8 @@ sub sync_file { foreach (@_) { my ($in) = m!^(?:removable[^:]*|file):/(.*)!; propagate_sync_callback($options, 'start', $_); - system("cp", "-p", "-R", $in || $_, ref($options) ? $options->{dir} : $options) and - die N("copy failed: %s", $@); + system("cp", "-p", "-R", $in || $_, ref($options) ? $options->{dir} : $options) + and die N("copy failed"); propagate_sync_callback($options, 'end', $_); } } |