readIntoSocket: fix with store URIs containing an & #4

Merged
delroth merged 1 commit from ma27/hydra:lix/fix-readIntoSocket into main 2024-08-18 21:41:58 +00:00
Showing only changes of commit 1a1008ea30 - Show all commits

View file

@ -412,8 +412,7 @@ sub readIntoSocket{
my $sock;
eval {
my $x= join(" ", @{$args{cmd}});
open($sock, "-|", $x) or die q(failed to open socket from command:\n $x);
open($sock, "-|", @{$args{cmd}}) or die q(failed to open socket from command:\n $x);
};
return $sock;