aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 4f19dd0f0e..06d41c15c6 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) ||