ash: fix kill -l (by Mats Erik Andersson <mats.andersson64@comhem.se>)

This commit is contained in:
Denis Vlasenko 2007-04-11 20:43:31 +00:00
parent 8fd371276f
commit d7c8196c1b

View File

@ -3573,7 +3573,7 @@ killcmd(int argc, char **argv)
if (!*argv) { if (!*argv) {
for (i = 1; i < NSIG; i++) { for (i = 1; i < NSIG; i++) {
name = get_signame(i); name = get_signame(i);
if (isdigit(*name)) if (!isdigit(*name))
out1fmt(snlfmt, name); out1fmt(snlfmt, name);
} }
return 0; return 0;