diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-07-02 14:56:34 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-07-02 17:12:23 +0200 |
commit | 272ac70a21165b6220f177a5f5db3c7863f7729c (patch) | |
tree | 8b55de3e0d7c0ca734bcb83efa9ce9531d464583 /src/resolve/resolved.c | |
parent | cc090ca7fec93cd6b41bd7a756cd5fe32df44764 (diff) | |
download | systemd-272ac70a21165b6220f177a5f5db3c7863f7729c.tar.gz |
various daemons: emit Stopping... notification before destructing the manager object
This is mostly cosmetic, but let's reorder the destructors so that
we do the final sd_notify() call before we run the destructor for
the manager object.
Diffstat (limited to 'src/resolve/resolved.c')
-rw-r--r-- | src/resolve/resolved.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved.c b/src/resolve/resolved.c index 566b950a63..16477f28d6 100644 --- a/src/resolve/resolved.c +++ b/src/resolve/resolved.c @@ -22,8 +22,8 @@ #include "user-util.h" static int run(int argc, char *argv[]) { - _cleanup_(notify_on_cleanup) const char *notify_stop = NULL; _cleanup_(manager_freep) Manager *m = NULL; + _cleanup_(notify_on_cleanup) const char *notify_stop = NULL; int r; log_setup_service(); |