diff options
author | Michael Terry <mike@bongo.(none)> | 2009-06-18 13:51:17 -0400 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-29 10:58:38 +0200 |
commit | ba4806a70439dd24dc98bd707893b1319dd5e3ef (patch) | |
tree | 0d899a388b125f2dd6f5442809e40830c56ed8b9 /tools | |
parent | 279896ebda98804c89899c53f857ca189ab24f45 (diff) | |
download | rsyslog-ba4806a70439dd24dc98bd707893b1319dd5e3ef.tar.gz rsyslog-ba4806a70439dd24dc98bd707893b1319dd5e3ef.tar.xz rsyslog-ba4806a70439dd24dc98bd707893b1319dd5e3ef.zip |
add support for KLogPath
Diffstat (limited to 'tools')
-rw-r--r-- | tools/syslogd.c | 4 |
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, |