mirror of
https://github.com/troglobit/finit.git
synced 2026-11-24 20:21:44 +00:00
reboot: Mention why CMD_SUSPEND is not managed in regular flow
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
5cdbd57875
commit
6507136bdd
1 file changed
+5
@@ -195,6 +195,11 @@ int main(int argc, char *argv[])
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case CMD_SUSPEND:
|
case CMD_SUSPEND:
|
||||||
|
/*
|
||||||
|
* Only initctl supports suspend, we avoid adding
|
||||||
|
* another signal to finit for compat reasons.
|
||||||
|
*/
|
||||||
|
|
||||||
case CMD_UNKNOWN:
|
case CMD_UNKNOWN:
|
||||||
errx(1, "Invalid command");
|
errx(1, "Invalid command");
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user