aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/pies.c b/src/pies.c
index 21d3421..c52b00b 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -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;

Return to:

Send suggestions and report system problems to the System administrator.