summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 8bc4939f..f6f4b469 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -2750,8 +2750,6 @@ static rsRetVal mainThread()
pTmp = template_StdPgSQLFmt;
tplLastStaticInit(tplAddLine(" StdPgSQLFmt", &pTmp));
- CHKiRet(init());
-
if(Debug && debugging_on) {
DBGPRINTF("Debugging enabled, SIGUSR1 to turn off debugging.\n");
}
@@ -2779,6 +2777,8 @@ static rsRetVal mainThread()
}
+ CHKiRet(init());
+
/* END OF INTIALIZATION
* ... but keep in mind that we might do a restart and thus init() might
* be called again. If that happens, we must shut down the worker thread,