diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-02-24 08:43:42 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-02-24 08:43:42 +0200 |
commit | 59e25f1ffcdf5bd4f6b8d9da92718f82bcc259b1 (patch) | |
tree | a809d02813049c6b3c73c1d8f28a82a30e8918f5 /src | |
parent | 1f728fa1ea2ced70254debf3b6bf63b76ad90ee0 (diff) | |
download | pies-59e25f1ffcdf5bd4f6b8d9da92718f82bcc259b1.tar.gz pies-59e25f1ffcdf5bd4f6b8d9da92718f82bcc259b1.tar.bz2 |
Remove spurious informational message on startup
Diffstat (limited to 'src')
-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); |