summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 21:51:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 21:51:41 +0000
commit1de448d88c2b5641ca9f41e144b02bb3849b3719 (patch)
tree338d1491cf140908a7303c205700c222a6a1ab50 /urpm
parent8917fcdc217bdc7186a3041c5bb98788b0b192f2 (diff)
downloadurpmi-1de448d88c2b5641ca9f41e144b02bb3849b3719.tar
urpmi-1de448d88c2b5641ca9f41e144b02bb3849b3719.tar.gz
urpmi-1de448d88c2b5641ca9f41e144b02bb3849b3719.tar.bz2
urpmi-1de448d88c2b5641ca9f41e144b02bb3849b3719.tar.xz
urpmi-1de448d88c2b5641ca9f41e144b02bb3849b3719.zip
prepare next commit
Diffstat (limited to 'urpm')
-rw-r--r--urpm/parallel_ssh.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index 24e3865b..3ee0c415 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -70,8 +70,8 @@ sub parallel_find_remove {
#- now try an iteration of urpme.
foreach my $node (keys %{$parallel->{nodes}}) {
- my $command = _ssh_urpm($urpm, $node, 'urpme', "--auto $test" . join(' ', map { "'$_'" } @$l));
- open my $fh, "$command 2>&1 |"
+ my $command = _ssh_urpm($urpm, $node, 'urpme', "--auto $test" . join(' ', map { "'$_'" } @$l) . ' 2>&1');
+ open my $fh, "$command |"
or $urpm->{fatal}(1, "Can't fork ssh: $!");
while (my $s = <$fh>) {