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:
Jesse 2023-02-19 00:47:22 -04:00
parent bd55f5e243
commit 86c5d7b93c
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
sysvinit (3.07) released; urgency=low
* Fixed killall5 so that processes in the omit list are
not sent any signals, including SIGSTOP.
* Fixed usage message for killall5 to be more accurate.
sysvinit (3.06) released; urgency=low
* Mark Hindley fixed typo in es.po

View File

@ -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);
}