Remove deprecated vfork call on Mac, and make Mac route application more robust.

This commit is contained in:
Adam Ierymenko 2021-10-26 22:15:06 -04:00
parent cce8411c22
commit 594853e251
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
2 changed files with 6 additions and 6 deletions

View file

@ -157,7 +157,7 @@ static int run(const char *path,...)
args[argNo++] = (char *)0;
va_end(ap);
pid_t pid = vfork();
pid_t pid = fork();
if (pid < 0) {
return -1;
} else if (pid == 0) {