Browse Source

Another stability fix... turns out vfork is problematic here.

Adam Ierymenko 6 years ago
parent
commit
4ed7d20a48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      osdep/MacEthernetTapAgent.c

+ 1 - 1
osdep/MacEthernetTapAgent.c

@@ -404,7 +404,7 @@ int main(int argc,char **argv)
 									}
 									args[argNo] = (char *)0;
 									if (argNo > 2) {
-										pid_t pid = vfork();
+										pid_t pid = fork();
 										if (pid < 0) {
 											return -1;
 										} else if (pid == 0) {