return -1 if fork(2) fails in execprog
authorPhilipp Takacs <philipp@bureaucracy.de>
Sun, 22 Feb 2015 22:26:38 +0000 (23:26 +0100)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sun, 22 Feb 2015 22:26:38 +0000 (23:26 +0100)
commit92005d4291ac03dae4481c72d1549b2f75264cb9
treea324c3921daf397115b76c59aacbbed51838ecca
parentc72e2386fd126324e3b699d4b37f71a3c40f56bc
return -1 if fork(2) fails in execprog

If fork in execprog fails and return 1 there is now
way to different between a proces witch return 1.
Thanks Marcin Cieslak <saper@saper.info> for reporting.
sbr/execprog.c