diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-30 11:50:57 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-30 11:50:57 +0100 |
commit | 7b40604e9ae8a0948f17eafd4299eeb7fb3356c2 (patch) | |
tree | 4c150f65d0585cb069ce1e498c4ebb8699af4cb3 /tools | |
parent | dd40c7ff901d7d7414cda5cf60da647d450ed741 (diff) | |
download | rsyslog-7b40604e9ae8a0948f17eafd4299eeb7fb3356c2.tar.gz rsyslog-7b40604e9ae8a0948f17eafd4299eeb7fb3356c2.tar.xz rsyslog-7b40604e9ae8a0948f17eafd4299eeb7fb3356c2.zip |
bugfix: $CreateDirs variable not properly initialized
default thus was random (but most often "on")
Diffstat (limited to 'tools')
-rw-r--r-- | tools/omfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/omfile.c b/tools/omfile.c index fb83632a..d6bc23e7 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -80,7 +80,7 @@ static uid_t fileUID; /* UID to be used for newly created files */ static uid_t fileGID; /* GID to be used for newly created files */ static uid_t dirUID; /* UID to be used for newly created directories */ static uid_t dirGID; /* GID to be used for newly created directories */ -static int bCreateDirs; /* auto-create directories for dynaFiles: 0 - no, 1 - yes */ +static int bCreateDirs = 1;/* auto-create directories for dynaFiles: 0 - no, 1 - yes */ static int bEnableSync = 0;/* enable syncing of files (no dash in front of pathname in conf): 0 - no, 1 - yes */ static uchar *pszTplName = NULL; /* name of the default template to use */ /* end globals for default values */ |