diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 2 |
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) | |||
| 627 | are changed between the check and this chdir, but we should | 627 | are changed between the check and this chdir, but we should |
| 628 | at least check. */ | 628 | at least check. */ |
| 629 | if (chdir (temp) < 0) | 629 | if (chdir (temp) < 0) |
| 630 | exit (errno); | 630 | _exit (errno); |
| 631 | 631 | ||
| 632 | /* Strip trailing slashes for PWD, but leave "/" and "//" alone. */ | 632 | /* Strip trailing slashes for PWD, but leave "/" and "//" alone. */ |
| 633 | while (i > 2 && temp[i - 1] == '/') | 633 | while (i > 2 && temp[i - 1] == '/') |