]> Sergey Matveev's repositories - public-inbox.git/commit
spawn: correctly handle error code
authorEric Wong <e@yhbt.net>
Tue, 3 Mar 2020 09:50:57 +0000 (09:50 +0000)
committerEric Wong <e@yhbt.net>
Wed, 4 Mar 2020 10:47:42 +0000 (10:47 +0000)
commit4de32cbee1bab278a15cd83e7c620de0d7777be5
treebadb35d03992b72b273a214ce9ec746d4c838b54
parentd857e7dc0d816b635a7ead09c3273f8c2d2434be
spawn: correctly handle error code

Both the C and pure Perl implementions of `pi_fork_exec'
returns `-1' on error, not `undef'.
lib/PublicInbox/Spawn.pm