diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-26 20:10:07 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-26 20:10:07 +0000 |
commit | 4a38940da0c0376ed29252757f3b2fa26944cd47 (patch) | |
tree | fa88301b3af900e9fc1c5b0c4e7921621b24398f | |
parent | 048f6b4df7ca3be292f40f7f56fd4e48edcabbe9 (diff) | |
download | qemu-4a38940da0c0376ed29252757f3b2fa26944cd47.tar.gz qemu-4a38940da0c0376ed29252757f3b2fa26944cd47.tar.bz2 qemu-4a38940da0c0376ed29252757f3b2fa26944cd47.zip |
using _exit in fork() (Kamo Hiroyasu)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1669 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2099,7 +2099,7 @@ static int net_tap_init(VLANState *vlan, const char *ifname1, *parg++ = ifname; *parg++ = NULL; execv(setup_script, args); - exit(1); + _exit(1); } while (waitpid(pid, &status, 0) != pid); if (!WIFEXITED(status) || |