Use _exit() instead of exit() when the exec() after a vfork() fails.

Submitted by:	Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
Hartmut Brandt 2005-02-04 13:26:37 +00:00
parent 8ffb687e64
commit c8bd426d66

View File

@ -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);
}
/*