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>
Tue, 15 Mar 2011 12:16:50 +0000 (12:16 +0000)
commitd1f1f74e5f45fa5b94ebb096fa65fa33ecc23d09
treeb65945c4c33473bb462ed933136b4ab39f58c73d
parent6f7c1a9f9d76bdf9f112e12e1508531fb41abfb2
check the pid is > 0 before calling waitpid()

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
src/guestfs.c