summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ssh.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/parallel_ssh.pm')
-rw-r--r--urpm/parallel_ssh.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index d2a55513..b2716e37 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -56,7 +56,10 @@ sub _ssh_urpm {
$cmd ne 'urpme' && _localhost($node) and $para = "--nolock $para";
- my $command = _ssh($node) . " $cmd --no-locales $para";
+ # 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;
}