Use _exit() instead of exit() when the exec() after a vfork() fails.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
parent
8ffb687e64
commit
c8bd426d66
@ -378,7 +378,7 @@ Compat_RunCommand(void *cmdp, void *gnp)
|
||||
write(STDERR_FILENO, ":", 1);
|
||||
write(STDERR_FILENO, strerror(errno), strlen(strerror(errno)));
|
||||
write(STDERR_FILENO, "\n", 1);
|
||||
exit(1);
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user