aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb
diff options
context:
space:
mode:
Diffstat (limited to 'toys/lsb')
-rw-r--r--toys/lsb/killall.c5
1 files changed, 1 insertions, 4 deletions
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();