summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-10-19 19:46:05 +0000
committerRichard M. Stallman <rms@gnu.org>1994-10-19 19:46:05 +0000
commit9c8dd1e0b517b1e27fddfd9222970b12caab3c48 (patch)
tree801869411475c00f5b593c94e44f6e870793e43a
parent35a88b625ac3c49dec936224aed15bbeb12950ef (diff)
downloademacs-9c8dd1e0b517b1e27fddfd9222970b12caab3c48.tar.gz
(child_setup): Always use _exit.
-rw-r--r--src/callproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index d4a92655c50..4f1c3913469 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -627,7 +627,7 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
are changed between the check and this chdir, but we should
at least check. */
if (chdir (temp) < 0)
- exit (errno);
+ _exit (errno);
/* Strip trailing slashes for PWD, but leave "/" and "//" alone. */
while (i > 2 && temp[i - 1] == '/')