Blame SOURCES/rsyslog-8.24.0-rhbz1245194-imjournal-ste-file.patch

a856a8
From: Jiri Vymazal <jvymazal@redhat.com>
a856a8
Date: Fri, 13 Jan 2017 13:38:53 -0500
a856a8
Subject: [PATCH 1/1] Rebased from: Patch33:
a856a8
 rsyslog-7.4.7-rhbz1245194-imjournal-ste-file.patch
a856a8
a856a8
Resolves:
a856a8
rhbz#1245194
a856a8
---
a856a8
 plugins/imjournal/imjournal.c | 2 ++
a856a8
 1 file changed, 2 insertions(+), 0 deletions(-)
a856a8
a856a8
diff --git a/plugins/imjournal/imjournal.c b/plugins/imjournal/imjournal.c
a856a8
index d4ea0d5..9d40e04 100644
a856a8
--- a/plugins/imjournal/imjournal.c
a856a8
+++ b/plugins/imjournal/imjournal.c
a856a8
@@ -793,6 +793,8 @@
a856a8
 		NULL, &cs.stateFile, STD_LOADABLE_MODULE_ID));
a856a8
 	CHKiRet(omsdRegCFSLineHdlr((uchar *)"imjournalignorepreviousmessages", 0, eCmdHdlrBinary,
a856a8
 		NULL, &cs.bIgnorePrevious, STD_LOADABLE_MODULE_ID));
a856a8
+	CHKiRet(omsdRegCFSLineHdlr((uchar *)"imjournalignorenonvalidstatefile", 0, eCmdHdlrBinary,
a856a8
+		NULL, &cs.bIgnoreNonValidStatefile, STD_LOADABLE_MODULE_ID)); 
a856a8
 	CHKiRet(omsdRegCFSLineHdlr((uchar *)"imjournaldefaultseverity", 0, eCmdHdlrSeverity,
a856a8
 		NULL, &cs.iDfltSeverity, STD_LOADABLE_MODULE_ID));
a856a8
 	CHKiRet(omsdRegCFSLineHdlr((uchar *)"imjournaldefaultfacility", 0, eCmdHdlrCustomHandler,