aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-09-11 16:35:14 -0500
committerRob Landley <rob@landley.net>2015-09-11 16:35:14 -0500
commite5354ca12a232b3f97726214254a868771cb70d1 (patch)
treeba373c24ede64b8a18f11a02cf834ce99aa586bf /toys/posix
parentd067571abb2b7934f3350c90ca891beb987c68fd (diff)
downloadtoybox-e5354ca12a232b3f97726214254a868771cb70d1.tar.gz
Replace toys.exithelp with help_exit() in lib.
Diffstat (limited to 'toys/posix')
-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++);