summaryrefslogtreecommitdiff
path: root/procps/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/kill.c')
-rw-r--r--procps/kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 25a8d01..6d7f083 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -111,7 +111,7 @@ do_it_now:
while (--argc >= 0) {
int pid;
- if (!isdigit(**argv))
+ if (!isdigit(**argv) && **argv != '-')
bb_error_msg_and_die( "Bad PID '%s'", *argv);
pid = strtol(*argv, NULL, 0);
if (kill(pid, signo) != 0) {