From 1de448d88c2b5641ca9f41e144b02bb3849b3719 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 9 Jul 2008 21:51:41 +0000 Subject: prepare next commit --- urpm/parallel_ssh.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpm') 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>) { -- cgit v1.2.1