core: fix lack of notifications after reload

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2014-01-09 20:50:49 -05:00
parent f58ceb21e9
commit a2cc4a6c96
+5
View File
@@ -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)