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