mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
Fix #320: close API/IPC socket immediately in shutdown/reboot
This protects against any hook scripts or services calling initctl when we're going down. There's no way to service these requests anyway, so no point in keeping the socket open. This way initctl can check for the existence of the socket before attempting any IPC command. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
1a439baf68
commit
457c0a246f
2 files changed
+2
-2
No files matched your search
Reference in new issue
Block a user