summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-02-04 14:56:50 +0000
committerOlivier Blin <oblin@mandriva.org>2004-02-04 14:56:50 +0000
commit0c46d5210c32ee8de495bddb5869db925b31098e (patch)
treef13e65a24858f35681db1e988db613e08593e4a4 /urpm.pm
parent498e420dd5ebc41023a33e6cc49c466b937a0397 (diff)
downloadurpmi-0c46d5210c32ee8de495bddb5869db925b31098e.tar
urpmi-0c46d5210c32ee8de495bddb5869db925b31098e.tar.gz
urpmi-0c46d5210c32ee8de495bddb5869db925b31098e.tar.bz2
urpmi-0c46d5210c32ee8de495bddb5869db925b31098e.tar.xz
urpmi-0c46d5210c32ee8de495bddb5869db925b31098e.zip
remove superfluous line feeds in sync_curl
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 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 {