summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-10 16:08:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-10 16:08:11 +0000
commitf26443f0c6087c6f296c9ec43d6bc006aed855e2 (patch)
tree8f6d320abbc85e5d20d86845ee5c687ee231f86d
parent4903bd0f237e5ecabc35f2187708a1c0e1f5957b (diff)
downloadurpmi-f26443f0c6087c6f296c9ec43d6bc006aed855e2.tar
urpmi-f26443f0c6087c6f296c9ec43d6bc006aed855e2.tar.gz
urpmi-f26443f0c6087c6f296c9ec43d6bc006aed855e2.tar.bz2
urpmi-f26443f0c6087c6f296c9ec43d6bc006aed855e2.tar.xz
urpmi-f26443f0c6087c6f296c9ec43d6bc006aed855e2.zip
add debug
-rw-r--r--urpm/parallel_ssh.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index bc0e0f9e..d3b29570 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -82,6 +82,7 @@ sub urpm_popen {
$do->($node, $s) and last;
}
close $fh or $urpm->{fatal}(1, N("host %s does not have a good version of urpmi (%d)", $node, $? >> 8));
+ $urpm->{debug}("parallel_ssh: $node: $cmd finished") if $urpm->{debug};
}
}