mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
resolved: return exit code of event loop
This commit is contained in:
parent
3e684349c2
commit
96e6e39443
@ -97,6 +97,8 @@ int main(int argc, char *argv[]) {
|
||||
goto finish;
|
||||
}
|
||||
|
||||
sd_event_get_exit_code(m->event, &r);
|
||||
|
||||
finish:
|
||||
sd_notify(false, "STATUS=Shutting down...");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user