summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-01-09 20:49:18 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-01-09 20:50:49 -0500
commita2cc4a6c960c26f62c33c995bc648357d939bd68 (patch)
tree607f4c6ee3ad6589aa4b963920aa1931bf768f67 /src
parentf58ceb21e9cdc4b79586283743351750ae35c175 (diff)
core: fix lack of notifications after reload
Diffstat (limited to 'src')
-rw-r--r--src/core/manager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index 0e35ba5cab..1eda2b1c5d 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)