diff src/callproc.c @ 9609:74985a8972e4

(child_setup): Always use _exit.
author Richard M. Stallman <rms@gnu.org>
date Wed, 19 Oct 1994 19:46:05 +0000
parents 6c814eb4d892
children 7f4b72244919
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] == '/')