summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-04 13:26:37 +0000
committerharti <harti@FreeBSD.org>2005-02-04 13:26:37 +0000
commitd01d054183ea225ffb7082d777297b70a1425efe (patch)
tree9442d96ac4691f93cb110793aa396929c985b41f
parent930c7a333a685425bc262f513594858300309cb6 (diff)
downloadFreeBSD-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.c2
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);
}
/*
OpenPOWER on IntegriCloud