mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Another stability fix... turns out vfork is problematic here.
This commit is contained in:
parent
350116c513
commit
4ed7d20a48
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue