Fixed killall5 usage message to be more accurate. Command
can accept more than one parameter and that is now mentioned.
This commit is contained in:
1 parent
bd55f5e243
commit
86c5d7b93c
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -873,7 +873,7 @@ PIDQ_HEAD *pidof(char *prog)
|
||||
/* Give usage message and exit. */
|
||||
void usage(void)
|
||||
{
|
||||
nsyslog(LOG_ERR, "only one argument, a signal number, allowed");
|
||||
nsyslog(LOG_ERR, "usage: killall5 -signum [-o omitpid] [-o omitpid] ...");
|
||||
closelog();
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user