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 9db2091..85a45dd 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -7099,7 +7099,7 @@ static int FAST_FUNC builtin_trap(char **argv) printf("trap -- "); print_escaped(G.traps[i]); /* bash compat: it says SIGxxx, not just xxx */ - printf(" SIG%s\n", get_signame(i)); + printf(" %s%s\n", i == 0 ? "" : "SIG", get_signame(i)); } } /*fflush(stdout); - done after each builtin anyway */ |