[systemd-commits] src/machine
Dave Reisner
dreisner at kemper.freedesktop.org
Mon Sep 8 06:29:42 PDT 2014
src/machine/machined.c | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 4cb40606785c30710bcf39bba33167bee66ad0bd
Author: Dave Reisner <dreisner at archlinux.org>
Date: Mon Sep 8 09:27:41 2014 -0400
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 f9d180d..aac670b 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);
More information about the systemd-commits
mailing list