diff options
Diffstat (limited to 'procps/kill.c')
| -rw-r--r-- | procps/kill.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/procps/kill.c b/procps/kill.c index e2b029d20..b3257492d 100644 --- a/procps/kill.c +++ b/procps/kill.c | |||
| @@ -51,7 +51,9 @@ int kill_main(int argc, char **argv) | |||
| 51 | if (argc == 1) { | 51 | if (argc == 1) { |
| 52 | /* Print the whole signal list */ | 52 | /* Print the whole signal list */ |
| 53 | for (signo = 1; signo < 32; signo++) { | 53 | for (signo = 1; signo < 32; signo++) { |
| 54 | puts(get_signame(signo)); | 54 | const char *name = get_signame(signo); |
| 55 | if (!isdigit(name[0])) | ||
| 56 | puts(name); | ||
| 55 | } | 57 | } |
| 56 | } else { /* -l <sig list> */ | 58 | } else { /* -l <sig list> */ |
| 57 | while ((arg = *++argv)) { | 59 | while ((arg = *++argv)) { |
