summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-10 14:16:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-10 14:16:13 +0000
commit4d5572640e9e23da5ad90cf56a77f09329a521df (patch)
treed3e13df43a758f0f6e949ad89820ba6509754c82
parent9ac05e0b3ffa3efbcba290ae9fe1eb2f12a1674e (diff)
downloadurpmi-4d5572640e9e23da5ad90cf56a77f09329a521df.tar
urpmi-4d5572640e9e23da5ad90cf56a77f09329a521df.tar.gz
urpmi-4d5572640e9e23da5ad90cf56a77f09329a521df.tar.bz2
urpmi-4d5572640e9e23da5ad90cf56a77f09329a521df.tar.xz
urpmi-4d5572640e9e23da5ad90cf56a77f09329a521df.zip
more orthogonal error msg
-rw-r--r--urpm/parallel_ssh.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index e8d99f0a..bc0e0f9e 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -59,9 +59,8 @@ sub _ssh_urpm {
# it doesn't matter for urpmq, and previous version of urpmq didn't handle it:
$cmd ne 'urpmq' and $para = "--no-locales $para";
- my $command = _ssh($node) . " $cmd $para";
- $urpm->{log}("parallel_ssh: $command");
- $command;
+ $urpm->{log}("parallel_ssh: $node: $cmd $para");
+ _ssh($node) . " $cmd $para";
}
sub _ssh_urpm_popen {
my ($urpm, $node, $cmd, $para) = @_;