]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/V2Writable.pm
spawn (and thus popen_rd) die on failure
[public-inbox.git] / lib / PublicInbox / V2Writable.pm
index 6021de4496a5e08b2504bbf5498a0d0d112427c6..5179432617a561a1d034f550de06b3462c8b0b02 100644 (file)
@@ -777,7 +777,6 @@ sub diff ($$$) {
        my $cmd = [ qw(diff -u), $an, $bn ];
        print STDERR "# MID conflict <$mid>\n";
        my $pid = spawn($cmd, undef, { 1 => 2 });
-       defined $pid or die "diff failed to spawn $!";
        waitpid($pid, 0) == $pid or die "diff did not finish";
        unlink($an, $bn);
 }