From 20b25e46b6bc327b42b1d9b0afcb89a88871b774 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 19 Oct 1994 19:46:05 +0000 Subject: [PATCH] (child_setup): Always use _exit. --- src/callproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callproc.c b/src/callproc.c index d4a92655c5..4f1c391346 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] == '/') -- 2.20.1