]> git.eshelyaron.com Git - emacs.git/commitdiff
(child_setup): Always use _exit.
authorRichard M. Stallman <rms@gnu.org>
Wed, 19 Oct 1994 19:46:05 +0000 (19:46 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 19 Oct 1994 19:46:05 +0000 (19:46 +0000)
src/callproc.c

index d4a92655c506bfe1659b47fa91454eaeffee3f22..4f1c391346953e54fd459bd80bcb3e8641ee8a7c 100644 (file)
@@ -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] == '/')