toposort: rename "lifo" field
[gitweb.git] / git-send-email.perl
index fd8bfff3b29df199584503005e8405e699c7ab58..70cad15ec46d0ed32f3b97c792e9d975ece53fd8 100755 (executable)
@@ -1440,7 +1440,7 @@ sub recipients_cmd {
 
        my $sanitized_sender = sanitize_address($sender);
        my @addresses = ();
-       open my $fh, "$cmd \Q$file\E |"
+       open my $fh, "-|", "$cmd \Q$file\E"
            or die "($prefix) Could not execute '$cmd'";
        while (my $address = <$fh>) {
                $address =~ s/^\s*//g;