summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved.c2
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...");