From 0c46d5210c32ee8de495bddb5869db925b31098e Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 4 Feb 2004 14:56:50 +0000 Subject: remove superfluous line feeds in sync_curl --- urpm.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/urpm.pm b/urpm.pm index 428c24ec..c09183b3 100644 --- a/urpm.pm +++ b/urpm.pm @@ -327,6 +327,8 @@ sub sync_curl { $file = undef; } } elsif ($buf =~ /^curl:/) { #- probably an error reported by curl + local $/ = "\n"; + chomp $buf; propagate_sync_callback($options, 'error', $file, $buf); } } else { -- cgit v1.2.1