summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 2e78e4a04..f55118460 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -552,7 +552,7 @@ static void handler_ctrl_z(int sig)
552 552
553 debug_printf_jobs("got tty sig %d in pid %d\n", sig, getpid()); 553 debug_printf_jobs("got tty sig %d in pid %d\n", sig, getpid());
554 pid = fork(); 554 pid = fork();
555 if (pid < 0) /* can't fork. Pretend there were no ctrl-Z */ 555 if (pid < 0) /* can't fork. Pretend there was no ctrl-Z */
556 return; 556 return;
557 ctrl_z_flag = 1; 557 ctrl_z_flag = 1;
558 if (!pid) { /* child */ 558 if (!pid) { /* child */