aboutsummaryrefslogtreecommitdiff
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 f9dad074f..11b33f40a 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -9745,7 +9745,7 @@ static int FAST_FUNC builtin_trap(char **argv)
9745 sighandler_t handler; 9745 sighandler_t handler;
9746 9746
9747 sig = get_signum(*argv++); 9747 sig = get_signum(*argv++);
9748 if (sig < 0 || sig >= NSIG) { 9748 if (sig < 0) {
9749 ret = EXIT_FAILURE; 9749 ret = EXIT_FAILURE;
9750 /* Mimic bash message exactly */ 9750 /* Mimic bash message exactly */
9751 bb_error_msg("trap: %s: invalid signal specification", argv[-1]); 9751 bb_error_msg("trap: %s: invalid signal specification", argv[-1]);