summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--procps/kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 25a8d0124..6d7f083b8 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) {