[systemd-commits] src/core

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Thu Jan 9 17:51:47 PST 2014


 src/core/manager.c |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit a2cc4a6c960c26f62c33c995bc648357d939bd68
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Thu Jan 9 20:49:18 2014 -0500

    core: fix lack of notifications after reload

diff --git a/src/core/manager.c b/src/core/manager.c
index 0e35ba5..1eda2b1 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -2344,6 +2344,11 @@ int manager_reload(Manager *m) {
         fclose(f);
         f = NULL;
 
+        /* Re-register notify_fd as event source */
+        q = manager_setup_notify(m);
+        if (q < 0)
+                r = q;
+
         /* Third, fire things up! */
         q = manager_coldplug(m);
         if (q < 0)



More information about the systemd-commits mailing list