summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-26 08:25:42 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-26 08:25:42 +0000
commitb33a62b92c57d6c613dfc6e427bbe1eed3af0e1c (patch)
treeb6b9410b311fd4b417f02d23d638d50ac127be84 /syslogd.c
parentd839bc3fa3018e54ca82055988928c76fca98496 (diff)
downloadrsyslog-b33a62b92c57d6c613dfc6e427bbe1eed3af0e1c.tar.gz
rsyslog-b33a62b92c57d6c613dfc6e427bbe1eed3af0e1c.tar.xz
rsyslog-b33a62b92c57d6c613dfc6e427bbe1eed3af0e1c.zip
applied patch from varmojfekoj to fix an issue with compatibility mode and
default module directories (many thanks!)
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index 7d28a3cc..b1572f18 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -2834,8 +2834,6 @@ init(void)
*/
cfsysline((uchar*)"ResetConfigVariables");
- legacyOptsHook();
-
/* open the configuration file */
if((iRet = processConfFile(ConfFile)) != RS_RET_OK) {
/* rgerhards: this code is executed to set defaults when the
@@ -2856,6 +2854,8 @@ init(void)
selectorAddList(f);
}
+ legacyOptsHook();
+
/* we are now done with reading the configuration. This is the right time to
* free some objects that were just needed for loading it. rgerhards 2005-10-19
*/