diff --git a/vl.c b/vl.c index 4f19dd0f0e604a87f0f7a7cddb3931176da1f94e..06d41c15c6dd13cee4ea67c95d9dca32b6488cec 100644 --- a/vl.c +++ b/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) ||