summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-10 13:09:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-10 13:09:45 +0000
commit6203c9e41abd67a522824c76efff26ef8b12561c (patch)
tree55609ca0a726c2d098515c19abccf06726f4a214 /urpm
parent8896447edd9a30169e752bd39cc296554b428da1 (diff)
downloadurpmi-6203c9e41abd67a522824c76efff26ef8b12561c.tar
urpmi-6203c9e41abd67a522824c76efff26ef8b12561c.tar.gz
urpmi-6203c9e41abd67a522824c76efff26ef8b12561c.tar.bz2
urpmi-6203c9e41abd67a522824c76efff26ef8b12561c.tar.xz
urpmi-6203c9e41abd67a522824c76efff26ef8b12561c.zip
add debug message in --debug mode
Diffstat (limited to 'urpm')
-rw-r--r--urpm/parallel_ssh.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index 0fdb0dd7..d2a55513 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -75,6 +75,8 @@ sub urpm_popen {
my $fh = _ssh_urpm_popen($urpm, $node, $cmd, $para);
while (my $s = <$fh>) {
+ chomp $s;
+ $urpm->{debug}("parallel_ssh: $node: received: $s") if $urpm->{debug};
$do->($node, $s) or last;
}
close $fh or $urpm->{fatal}(1, N("host %s does not have a good version of urpmi (%d)", $node, $? >> 8));