]> Sergey Matveev's repositories - public-inbox.git/commit
spawn: actually die on (vfork|fork) failures
authorEric Wong <e@yhbt.net>
Sun, 2 Feb 2020 17:51:26 +0000 (17:51 +0000)
committerEric Wong <e@yhbt.net>
Sun, 2 Feb 2020 17:51:39 +0000 (17:51 +0000)
commite95b4225b32cd561e608e3b9740024ed66fe7b0f
tree3a468785da4c48bfe963f440bbdec80eccdd02f3
parent5bddb0ece15079f9961949d48615b990081e0a95
spawn: actually die on (vfork|fork) failures

Commit 9f5a583694396f84 ("spawn (and thus popen_rd) die on failure")
was incomplete in that it only removed error checking for spawn
failures for non-(vfork|fork) calls, but the actual (vfork|fork)
PID result could still be undef.

Fixes: 9f5a583694396f84 ("spawn (and thus popen_rd) die on failure")
lib/PublicInbox/Spawn.pm