]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Spawn.pm
spawn (and thus popen_rd) die on failure
[public-inbox.git] / lib / PublicInbox / Spawn.pm
index 1c74a5964aa59235d51eaa6af7bbb9b37fecb4eb..b02d536866836cec97ecbfc82002793fc59dbd9c 100644 (file)
@@ -219,7 +219,6 @@ sub popen_rd {
        $opts ||= {};
        $opts->{1} = fileno($w);
        my $pid = spawn($cmd, $env, $opts);
-       return unless defined $pid;
        return ($r, $pid) if wantarray;
        my $ret = gensym;
        tie *$ret, 'PublicInbox::ProcessPipe', $pid, $r;