ash: fix kill -l (by Mats Erik Andersson <mats.andersson64@comhem.se>)
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 11 Apr 2007 20:43:31 +0000 (20:43 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 11 Apr 2007 20:43:31 +0000 (20:43 -0000)
shell/ash.c

index bebfec8f58ca0e792d5a92e09a70863c91323547..f8207a6ccb64607ef8a550b5a00c678234f2ca2e 100644 (file)
@@ -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;