1
0
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:
Lennart Poettering 2014-08-12 19:33:09 +02:00
parent 3e684349c2
commit 96e6e39443

View File

@ -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...");