mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
initctl: add 'kill' alias to 'signal' command
Principle of least surprise. When no even the maintainer remembers the correct command, it is time to add an alias. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
a39ee0b44d
commit
d1ebb255c6
1 file changed
+1
@@ -1464,6 +1464,7 @@ int main(int argc, char *argv[])
|
||||
{ "stop", NULL, do_stop, NULL, NULL },
|
||||
{ "restart", NULL, do_restart, NULL, NULL },
|
||||
{ "signal", NULL, NULL, NULL, do_signal },
|
||||
{ "kill", NULL, NULL, NULL, do_signal }, /* alias */
|
||||
|
||||
{ "cgroup", NULL, show_cgroup, &cgrp, NULL },
|
||||
{ "ps", NULL, show_cgps, &cgrp, NULL },
|
||||
|
||||
Reference in new issue
Block a user