diff options
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index bccd9c1e9..f085ed3eb 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -6794,7 +6794,7 @@ static int checkjobs(struct pipe *fg_pipe) | |||
6794 | int sig = WTERMSIG(status); | 6794 | int sig = WTERMSIG(status); |
6795 | if (i == fg_pipe->num_cmds-1) | 6795 | if (i == fg_pipe->num_cmds-1) |
6796 | /* TODO: use strsignal() instead for bash compat? but that's bloat... */ | 6796 | /* TODO: use strsignal() instead for bash compat? but that's bloat... */ |
6797 | printf("%s\n", sig == SIGINT || sig == SIGPIPE ? "" : get_signame(sig)); | 6797 | puts(sig == SIGINT || sig == SIGPIPE ? "" : get_signame(sig)); |
6798 | /* TODO: if (WCOREDUMP(status)) + " (core dumped)"; */ | 6798 | /* TODO: if (WCOREDUMP(status)) + " (core dumped)"; */ |
6799 | /* TODO: MIPS has 128 sigs (1..128), what if sig==128 here? | 6799 | /* TODO: MIPS has 128 sigs (1..128), what if sig==128 here? |
6800 | * Maybe we need to use sig | 128? */ | 6800 | * Maybe we need to use sig | 128? */ |