summaryrefslogtreecommitdiff
path: root/src/machine/machined.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-09-08 09:27:41 -0400
committerDave Reisner <dreisner@archlinux.org>2014-09-08 09:29:36 -0400
commit4cb40606785c30710bcf39bba33167bee66ad0bd (patch)
tree9c35a20ca363c66acb42d72ed972f481b631f9ee /src/machine/machined.c
parent84b5b79a8f7b423c5b7cad4170eb68d57fe5e26c (diff)
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.
Diffstat (limited to 'src/machine/machined.c')
-rw-r--r--src/machine/machined.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/machine/machined.c b/src/machine/machined.c
index f9d180d24a..aac670ba78 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);