mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
using _exit in fork() (Kamo Hiroyasu)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1669 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
048f6b4df7
commit
4a38940da0
1 changed files with 1 additions and 1 deletions
2
vl.c
2
vl.c
|
@ -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) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue