Created
November 24, 2021 16:34
-
-
Save stintel/9f6c5a8690d1ab43ba2b208def6c716a to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/state.c b/state.c | |
index fb81248..bf7557f 100644 | |
--- a/state.c | |
+++ b/state.c | |
@@ -224,6 +224,7 @@ void procd_shutdown(int event) | |
if (state >= STATE_SHUTDOWN) | |
return; | |
DEBUG(2, "Shutting down system with event %x\n", event); | |
+ service_stop_all(); | |
reboot_event = event; | |
state = STATE_SHUTDOWN; | |
state_enter(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment