aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-02-24 08:43:42 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-02-24 08:43:42 +0200
commit59e25f1ffcdf5bd4f6b8d9da92718f82bcc259b1 (patch)
treea809d02813049c6b3c73c1d8f28a82a30e8918f5
parent1f728fa1ea2ced70254debf3b6bf63b76ad90ee0 (diff)
downloadpies-59e25f1ffcdf5bd4f6b8d9da92718f82bcc259b1.tar.gz
pies-59e25f1ffcdf5bd4f6b8d9da92718f82bcc259b1.tar.bz2
Remove spurious informational message on startup
-rw-r--r--src/ctl.c2
-rw-r--r--src/pies.c10
-rw-r--r--src/pies.h1
3 files changed, 10 insertions, 3 deletions
diff --git a/src/ctl.c b/src/ctl.c
index 2d63933..21abf59 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -2311,3 +2311,3 @@ conf_reload (struct ctlio *io)
messages = json_new_array ();
- if (pies_read_config ())
+ if (pies_reread_config ())
{
diff --git a/src/pies.c b/src/pies.c
index 21d3421..c52b00b 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -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 ())
{
diff --git a/src/pies.h b/src/pies.h
index 37eb4ba..c858932 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -331,2 +331,3 @@ void pies_schedule_children (int op);
int pies_read_config (void);
+int pies_reread_config (void);

Return to:

Send suggestions and report system problems to the System administrator.