chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
84b5b79
)
machined: remove redundant sd_notify
author
Dave Reisner
<dreisner@archlinux.org>
Mon, 8 Sep 2014 13:27:41 +0000
(09:27 -0400)
committer
Dave Reisner
<dreisner@archlinux.org>
Mon, 8 Sep 2014 13:29:36 +0000
(09:29 -0400)
We already call this on via bus_event_loop_with_idle on exit. This
makes machined consistent with other similar daemons: localed,
hostnamed, timedated.
src/machine/machined.c
patch
|
blob
|
history
diff --git
a/src/machine/machined.c
b/src/machine/machined.c
index f9d180d24a74bc4e3cbf951b766f5ecf4cd1bdae..aac670ba78ff6f47a06bfb91aaf843bae493d7fc 100644
(file)
--- 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);