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:
Joachim Wiberg
2023-01-07 09:31:57 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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