diff options
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 5bc83bc41..666604dd9 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -2044,7 +2044,7 @@ static int reserved_word(o_string *dest, struct p_context *ctx) | |||
2044 | *ctx = *old; /* physical copy */ | 2044 | *ctx = *old; /* physical copy */ |
2045 | free(old); | 2045 | free(old); |
2046 | } | 2046 | } |
2047 | b_reset (dest); | 2047 | b_reset(dest); |
2048 | return 1; | 2048 | return 1; |
2049 | } | 2049 | } |
2050 | } | 2050 | } |
@@ -2666,7 +2666,7 @@ static void setup_job_control(void) | |||
2666 | static pid_t shell_pgrp; | 2666 | static pid_t shell_pgrp; |
2667 | /* Loop until we are in the foreground. */ | 2667 | /* Loop until we are in the foreground. */ |
2668 | while (tcgetpgrp (shell_terminal) != (shell_pgrp = getpgrp ())) | 2668 | while (tcgetpgrp (shell_terminal) != (shell_pgrp = getpgrp ())) |
2669 | kill (- shell_pgrp, SIGTTIN); | 2669 | kill(- shell_pgrp, SIGTTIN); |
2670 | 2670 | ||
2671 | /* Ignore interactive and job-control signals. */ | 2671 | /* Ignore interactive and job-control signals. */ |
2672 | signal(SIGINT, SIG_IGN); | 2672 | signal(SIGINT, SIG_IGN); |