diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-12 19:33:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-12 19:33:09 +0200 |
commit | 96e6e394431dcc1db52847be311e2c8e61d7a9d6 (patch) | |
tree | 17791ac44b70a2f98c88191dd82e96481ed2a220 /src/resolve/resolved.c | |
parent | 3e684349c2cead2e6fd2f816c34eb17daba23a49 (diff) |
resolved: return exit code of event loop
Diffstat (limited to 'src/resolve/resolved.c')
-rw-r--r-- | src/resolve/resolved.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved.c b/src/resolve/resolved.c index 892bb51386..8235558585 100644 --- a/src/resolve/resolved.c +++ b/src/resolve/resolved.c @@ -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..."); |