diff options
-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 14c0b753..9abe039d 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -703,8 +703,8 @@ sub sync_aria2 { if ($buf =~ m!Download\scomplete:\s\./!) { propagate_sync_callback($options, 'end', $file); $file = undef; - } elsif ($buf =~ /ERR\|/) { - propagate_sync_callback($options, 'error', $file, $buf); + } elsif ($buf =~ /ERR\|(.*)/) { + propagate_sync_callback($options, 'error', $file, $1); } } else { $options->{quiet} or print STDERR "$buf\n"; |