mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-09 04:04:13 +00:00
Another stability fix... turns out vfork is problematic here.
This commit is contained in:
parent
350116c513
commit
4ed7d20a48
@ -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…
x
Reference in New Issue
Block a user