diff options
Diffstat (limited to 'src/pies.c')
-rw-r--r-- | src/pies.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1569,7 +1569,6 @@ pies_read_config (void) struct grecs_list_entry *ep; int err = 0; - logmsg (LOG_INFO, _("reading configuration")); component_config_begin (); for (ep = config_list->head; ep; ep = ep->next) @@ -1587,6 +1586,13 @@ pies_read_config (void) return err; } + +int +pies_reread_config (void) +{ + logmsg (LOG_INFO, _("reading configuration")); + return pies_read_config (); +} static struct config_syntax *current_syntax = &config_syntax_tab[CONF_PIES]; @@ -2239,7 +2245,7 @@ main (int argc, char **argv) break; case ACTION_RELOAD: - if (pies_read_config ()) + if (pies_reread_config ()) { action = ACTION_CONT; break; |