mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
api: acknowledge reboot, halt, and poweroff
Finit carried out a reboot, halt, or poweroff requested over the initctl socket, but replied with a NACK. The command printed an empty line and fell back to signalling PID 1. The result was never set from the action taken. Return what shutdown_now() returns. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
2 files changed
+4
-1
Reference in new issue
Block a user