From e5354ca12a232b3f97726214254a868771cb70d1 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 11 Sep 2015 16:35:14 -0500 Subject: Replace toys.exithelp with help_exit() in lib. --- toys/posix/kill.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'toys/posix/kill.c') 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++); -- cgit v1.2.3