changeset 9609:74985a8972e4

(child_setup): Always use _exit.
author Richard M. Stallman <rms@gnu.org>
date Wed, 19 Oct 1994 19:46:05 +0000
parents 1a85137cb257
children 6c39fe6d9581
files src/callproc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Wed Oct 19 09:56:48 1994 +0000
+++ b/src/callproc.c	Wed Oct 19 19:46:05 1994 +0000
@@ -627,7 +627,7 @@
        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] == '/')