summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-16 13:59:16 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-16 13:59:16 +0100
commit189a26c0444178612bf6e4618ccd9c722b83c261 (patch)
tree243d27b68a14ebcd2c7263a3492ace23542c5f13 /tools/omfile.c
parentc5611012f9d82155d6017435b5cf52c0b4e31149 (diff)
parent371a8eec29fa25bbf58f4b1f0d7e3bf4c3ad6329 (diff)
downloadrsyslog-189a26c0444178612bf6e4618ccd9c722b83c261.tar.gz
rsyslog-189a26c0444178612bf6e4618ccd9c722b83c261.tar.xz
rsyslog-189a26c0444178612bf6e4618ccd9c722b83c261.zip
Merge branch 'v4-stable' into v5-stable
Conflicts: ChangeLog runtime/parser.c runtime/queue.c runtime/wtp.c template.c threads.c tools/syslogd.c
Diffstat (limited to 'tools/omfile.c')
-rw-r--r--tools/omfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index 78f2bf8e..8c507a56 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -404,7 +404,6 @@ prepareFile(instanceData *pData, uchar *newFileName)
}
} else {
/* file does not exist, create it (and eventually parent directories */
- fd = -1;
if(pData->bCreateDirs) {
/* We first need to create parent dirs if they are missing.
* We do not report any errors here ourselfs but let the code