diff options
author | Denys Vlasenko | 2009-09-24 01:43:21 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-09-24 01:43:21 +0200 |
commit | 2f7894b1bb60ab12b518fac5ea5928f3ec01de28 (patch) | |
tree | 98bce8853fdd7e92fb86550bce21c3019d727c1a /shell/hush.c | |
parent | ecb179b6d72c58acbdbc707538d7562bc1c0a880 (diff) | |
download | busybox-2f7894b1bb60ab12b518fac5ea5928f3ec01de28.zip busybox-2f7894b1bb60ab12b518fac5ea5928f3ec01de28.tar.gz |
ash,hush: fix trap reporting: s/SIGEXIT/EXIT/
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 */ |