Commit 4a38940da0c0376ed29252757f3b2fa26944cd47

Authored by bellard
1 parent 048f6b4d

using _exit in fork() (Kamo Hiroyasu)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1669 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -2099,7 +2099,7 @@ static int net_tap_init(VLANState *vlan, const char *ifname1,
2099 2099 *parg++ = ifname;
2100 2100 *parg++ = NULL;
2101 2101 execv(setup_script, args);
2102   - exit(1);
  2102 + _exit(1);
2103 2103 }
2104 2104 while (waitpid(pid, &status, 0) != pid);
2105 2105 if (!WIFEXITED(status) ||
... ...