diff options
-rw-r--r-- | src/ctl.c | 2 | ||||
-rw-r--r-- | src/pies.c | 10 | ||||
-rw-r--r-- | src/pies.h | 1 |
3 files changed, 10 insertions, 3 deletions
@@ -2311,3 +2311,3 @@ conf_reload (struct ctlio *io) messages = json_new_array (); - if (pies_read_config ()) + if (pies_reread_config ()) { @@ -1571,3 +1571,2 @@ pies_read_config (void) - logmsg (LOG_INFO, _("reading configuration")); component_config_begin (); @@ -1589,2 +1588,9 @@ pies_read_config (void) } + +int +pies_reread_config (void) +{ + logmsg (LOG_INFO, _("reading configuration")); + return pies_read_config (); +} @@ -2241,3 +2247,3 @@ main (int argc, char **argv) case ACTION_RELOAD: - if (pies_read_config ()) + if (pies_reread_config ()) { @@ -331,2 +331,3 @@ void pies_schedule_children (int op); int pies_read_config (void); +int pies_reread_config (void); |