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/lsb/killall.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'toys/lsb/killall.c') diff --git a/toys/lsb/killall.c b/toys/lsb/killall.c index e8927559..3b316ecc 100644 --- a/toys/lsb/killall.c +++ b/toys/lsb/killall.c @@ -83,10 +83,7 @@ void killall_main(void) } } - if (!(toys.optflags & FLAG_l) && !toys.optc) { - toys.exithelp++; - error_exit("no name"); - } + if (!(toys.optflags & FLAG_l) && !toys.optc) help_exit("no name"); TT.cur_pid = getpid(); -- cgit v1.2.3