diff options
author | harti <harti@FreeBSD.org> | 2005-02-04 13:26:37 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-02-04 13:26:37 +0000 |
commit | d01d054183ea225ffb7082d777297b70a1425efe (patch) | |
tree | 9442d96ac4691f93cb110793aa396929c985b41f | |
parent | 930c7a333a685425bc262f513594858300309cb6 (diff) | |
download | FreeBSD-src-d01d054183ea225ffb7082d777297b70a1425efe.zip FreeBSD-src-d01d054183ea225ffb7082d777297b70a1425efe.tar.gz |
Use _exit() instead of exit() when the exec() after a vfork() fails.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
-rw-r--r-- | usr.bin/make/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c index b7609ed..743bce7 100644 --- a/usr.bin/make/compat.c +++ b/usr.bin/make/compat.c @@ -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); } /* |