summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 9220ef91..7d34fb38 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -313,6 +313,8 @@ sub sync_curl {
propagate_sync_callback($options, 'end', $file);
$file = undef;
}
+ } elsif ($buf =~ /^curl:/) { #- probably an error reported by curl
+ propagate_sync_callback($options, 'error', $file, $buf);
}
} else {
ref($options) && $options->{quiet} or print STDERR $buf;