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

This commit is contained in:
Adam Ierymenko 2018-11-13 12:46:36 -08:00
parent 350116c513
commit 4ed7d20a48

View file

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