From c058c0565148a3e24962c6d29a8faa1ce6e5b3af Mon Sep 17 00:00:00 2001 From: Jack Newman Date: Thu, 5 Jan 2023 09:00:51 +1000 Subject: [PATCH] Fix AUTO_RELOAD typo --- src/cgroup.c | 2 +- src/conf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cgroup.c b/src/cgroup.c index 5590a058..be0f16f2 100644 --- a/src/cgroup.c +++ b/src/cgroup.c @@ -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 diff --git a/src/conf.c b/src/conf.c index b833ce3b..acd2d094 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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