diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-01-09 20:49:18 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-01-09 20:50:49 -0500 |
commit | a2cc4a6c960c26f62c33c995bc648357d939bd68 (patch) | |
tree | 607f4c6ee3ad6589aa4b963920aa1931bf768f67 | |
parent | f58ceb21e9cdc4b79586283743351750ae35c175 (diff) |
core: fix lack of notifications after reload
-rw-r--r-- | src/core/manager.c | 5 |
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) |