summaryrefslogtreecommitdiff
path: root/src/userdb
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-02 14:56:34 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-02 17:12:23 +0200
commit272ac70a21165b6220f177a5f5db3c7863f7729c (patch)
tree8b55de3e0d7c0ca734bcb83efa9ce9531d464583 /src/userdb
parentcc090ca7fec93cd6b41bd7a756cd5fe32df44764 (diff)
downloadsystemd-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/userdb')
-rw-r--r--src/userdb/userdbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userdb/userdbd.c b/src/userdb/userdbd.c
index 978fd1d788..dbc285e61a 100644
--- a/src/userdb/userdbd.c
+++ b/src/userdb/userdbd.c
@@ -20,8 +20,8 @@
*/
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();