ash: fix kill -l (by Mats Erik Andersson <mats.andersson64@comhem.se>)
This commit is contained in:
parent
8fd371276f
commit
d7c8196c1b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user