check the pid is > 0 before calling waitpid()
authorAngus Salkeld <asalkeld@redhat.com>
Tue, 15 Mar 2011 11:43:02 +0000 (22:43 +1100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 21 Mar 2011 11:29:10 +0000 (11:29 +0000)
commit7ffaf8449773224694898e28b24ad7bc36f23216
treebae026c51a72a60beecc57a19fcdd8fef5fe21b9
parent2f88a20d30e2a5723e8d705da00373c7848b9350
check the pid is > 0 before calling waitpid()

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