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 bebfec8..f8207a6 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;