check the pid is > 0 before calling waitpid()
authorAngus Salkeld <asalkeld@redhat.com>
Mon, 14 Mar 2011 11:40:12 +0000 (22:40 +1100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 21 Mar 2011 11:29:07 +0000 (11:29 +0000)
commit2f88a20d30e2a5723e8d705da00373c7848b9350
treec7796dc4728aa3ad66ac72a7a12efa432ffc61c4
parentb4d99ebce5d312a8b61cd0e70a6b78504da4c1f4
check the pid is > 0 before calling waitpid()

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
(cherry picked from commit 6f7c1a9f9d76bdf9f112e12e1508531fb41abfb2)
src/launch.c