aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/kill.c')
-rw-r--r--toys/posix/kill.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/toys/posix/kill.c b/toys/posix/kill.c
index 72113878..3fcd36a1 100644
--- a/toys/posix/kill.c
+++ b/toys/posix/kill.c
@@ -136,10 +136,7 @@ void kill_main(void)
} else {
// "<1" in optstr wouldn't cover this because "-SIGNAL"
- if (!*args) {
- toys.exithelp++;
- error_exit("missing argument");
- }
+ if (!*args) help_exit("missing argument");
while (*args) {
char *arg = *(args++);