aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
-rw-r--r--shell/hush.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 827643808..4a8ec0c03 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -5505,7 +5505,7 @@ openhere(union node *redir)
5505 ignoresig(SIGTSTP); //signal(SIGTSTP, SIG_IGN); 5505 ignoresig(SIGTSTP); //signal(SIGTSTP, SIG_IGN);
5506 signal(SIGPIPE, SIG_DFL); 5506 signal(SIGPIPE, SIG_DFL);
5507 xwrite(pip[1], p, len); 5507 xwrite(pip[1], p, len);
5508 _exit(EXIT_SUCCESS); 5508 _exit_SUCCESS();
5509 } 5509 }
5510 out: 5510 out:
5511 close(pip[1]); 5511 close(pip[1]);
diff --git a/shell/hush.c b/shell/hush.c
index 6a27b1634..982fc356a 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -8587,7 +8587,7 @@ static NOINLINE void pseudo_exec_argv(nommu_save_t *nommu_save,
8587 * expand_assignments(): think about ... | var=`sleep 1` | ... 8587 * expand_assignments(): think about ... | var=`sleep 1` | ...
8588 */ 8588 */
8589 free_strings(new_env); 8589 free_strings(new_env);
8590 _exit(EXIT_SUCCESS); 8590 _exit_SUCCESS();
8591 } 8591 }
8592 8592
8593 sv_shadowed = G.shadowed_vars_pp; 8593 sv_shadowed = G.shadowed_vars_pp;
@@ -8768,7 +8768,7 @@ static void pseudo_exec(nommu_save_t *nommu_save,
8768 8768
8769 /* Case when we are here: ... | >file */ 8769 /* Case when we are here: ... | >file */
8770 debug_printf_exec("pseudo_exec'ed null command\n"); 8770 debug_printf_exec("pseudo_exec'ed null command\n");
8771 _exit(EXIT_SUCCESS); 8771 _exit_SUCCESS();
8772} 8772}
8773 8773
8774#if ENABLE_HUSH_JOB 8774#if ENABLE_HUSH_JOB