mirror of
https://github.com/troglobit/finit.git
synced 2026-10-10 16:52:39 +07:00
Merge pull request #337 from JackNewman12/autoreload-fix
Fix AUTO_RELOAD #define typo Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -287,7 +287,7 @@ static void cgroup_events_cb(uev_t *w, void *arg, int events)
|
||||
cgroup_handle_event(iwp->path, ev->mask);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_AUTO_RELOAD
|
||||
#ifdef AUTO_RELOAD
|
||||
if (conf_any_change())
|
||||
service_reload_dynamic();
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -1133,7 +1133,7 @@ static void conf_cb(uev_t *w, void *arg, int events)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef ENABLE_AUTO_RELOAD
|
||||
#ifdef AUTO_RELOAD
|
||||
if (conf_any_change())
|
||||
service_reload_dynamic();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user