aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index bebfec8f5..f8207a6cc 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -3573,7 +3573,7 @@ killcmd(int argc, char **argv)
if (!*argv) {
for (i = 1; i < NSIG; i++) {
name = get_signame(i);
- if (isdigit(*name))
+ if (!isdigit(*name))
out1fmt(snlfmt, name);
}
return 0;