diff options
author | Eric Wong <e@80x24.org> | 2016-02-28 23:39:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-02-28 23:57:34 +0000 |
commit | 89bd3f4826f91647216765534eacfb37267a27a3 (patch) | |
tree | c9ce8b8cb98084bdea1eada53e43a57412c2173f | |
parent | 15a56c73e3b5c540d1f9d65058c9aba3ff840cdd (diff) | |
download | public-inbox-89bd3f4826f91647216765534eacfb37267a27a3.tar.gz |
Perl may complain about exit not being executed, but not die.
-rw-r--r-- | lib/PublicInbox/SpawnPP.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SpawnPP.pm b/lib/PublicInbox/SpawnPP.pm index 1a402e42..288625d0 100644 --- a/lib/PublicInbox/SpawnPP.pm +++ b/lib/PublicInbox/SpawnPP.pm @@ -25,7 +25,7 @@ sub public_inbox_fork_exec ($$$$$$) { $ENV{$k} = $v; } exec @$cmd; - exit 1; + die "exec $cmd->[0] failed: $!\n"; } $pid; } |