summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-13 11:54:36 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-13 11:54:36 +0000
commit1b0bb1e8168d5b9e8ca5f535a29726e636bbf584 (patch)
tree402caa0bf31c5608ed4664bb37035f6c4d985f0d /plugins
parentde1f787307066bea620b3d6631ac68ebf657d561 (diff)
downloadrsyslog-1b0bb1e8168d5b9e8ca5f535a29726e636bbf584.tar.gz
rsyslog-1b0bb1e8168d5b9e8ca5f535a29726e636bbf584.tar.xz
rsyslog-1b0bb1e8168d5b9e8ca5f535a29726e636bbf584.zip
some cleanup
Diffstat (limited to 'plugins')
-rw-r--r--plugins/imfile/imfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
index f9c7d0ed..ce7134d2 100644
--- a/plugins/imfile/imfile.c
+++ b/plugins/imfile/imfile.c
@@ -148,10 +148,10 @@ openFile(fileInfo_t *pThis)
CHKiRet(strmSeekCurrOffs(pThis->pStrm));
- /* OK, we could successfully read the file, so we now can request that it be
- * deleted when we are done with the persisted information.
+ /* OK, we could successfully read the file, so we now can request that it be deleted.
+ * If we need it again, it will be written on the next shutdown.
*/
- // TODO: do we need this functionality? psSF->bNeedDelSF = 1;
+ psSF->bDeleteOnClose = 1;
finalize_it:
if(psSF != NULL)