提交 4a38940d 编写于 作者: B bellard

using _exit in fork() (Kamo Hiroyasu)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1669 c046a42c-6fe2-441c-8c8c-71466251a162
上级 048f6b4d
......@@ -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) ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册