From: Dave Reisner Date: Mon, 8 Sep 2014 13:27:41 +0000 (-0400) Subject: machined: remove redundant sd_notify X-Git-Tag: v217~624 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=4cb40606785c30710bcf39bba33167bee66ad0bd;ds=sidebyside machined: remove redundant sd_notify We already call this on via bus_event_loop_with_idle on exit. This makes machined consistent with other similar daemons: localed, hostnamed, timedated. --- diff --git a/src/machine/machined.c b/src/machine/machined.c index f9d180d24..aac670ba7 100644 --- a/src/machine/machined.c +++ b/src/machine/machined.c @@ -349,10 +349,6 @@ int main(int argc, char *argv[]) { log_debug("systemd-machined stopped as pid "PID_FMT, getpid()); finish: - sd_notify(false, - "STOPPING=1\n" - "STATUS=Shutting down..."); - if (m) manager_free(m);