summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-04-12 09:13:10 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-04-12 09:13:10 +0200
commit2e86f78d59e3e381c35f21b1f939316065fd7907 (patch)
tree65372541e787ba572c8fac6bcca7ddf3280d645c
parenta5d33140aae708f71939bcde5f4db5655856e7dc (diff)
parent6773add66a5b369c33740b794f1a81b1a3bd1aa2 (diff)
downloadrsyslog-2e86f78d59e3e381c35f21b1f939316065fd7907.tar.gz
rsyslog-2e86f78d59e3e381c35f21b1f939316065fd7907.tar.bz2
rsyslog-2e86f78d59e3e381c35f21b1f939316065fd7907.zip
Merge branch 'v7-stable'
-rw-r--r--ChangeLog4
-rw-r--r--action.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 84c5db7b..85ac344b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -272,6 +272,10 @@ Version 7.2.7 [v7-stable] 2013-03-??
To use that functionality, legacy rsyslog.conf syntax had to be used.
Also, the doc was missing information on the "ParseTrusted" set of
config directives.
+- bugfix: parameter action.execOnlyWhenPreviousIsSuspended was accidently
+ of integer-type. For obvious reasons, it needs to be boolean. Note
+ that this change can break existing configurations if they circumvented
+ the problem by using 0/1 values.
- doc bugfix: rsyslog.conf man page had invalid file format info
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=418
----------------------------------------------------------------------------
diff --git a/action.c b/action.c
index 6b5a718c..49ab4839 100644
--- a/action.c
+++ b/action.c
@@ -188,7 +188,7 @@ static struct cnfparamdescr cnfparamdescr[] = {
{ "action.execonlyeverynthtime", eCmdHdlrInt, 0 }, /* legacy: actionexeconlyeverynthtime */
{ "action.execonlyeverynthtimetimeout", eCmdHdlrInt, 0 }, /* legacy: actionexeconlyeverynthtimetimeout */
{ "action.execonlyonceeveryinterval", eCmdHdlrInt, 0 }, /* legacy: actionexeconlyonceeveryinterval */
- { "action.execonlywhenpreviousissuspended", eCmdHdlrInt, 0 }, /* legacy: actionexeconlywhenpreviousissuspended */
+ { "action.execonlywhenpreviousissuspended", eCmdHdlrBinary, 0 }, /* legacy: actionexeconlywhenpreviousissuspended */
{ "action.repeatedmsgcontainsoriginalmsg", eCmdHdlrBinary, 0 }, /* legacy: repeatedmsgcontainsoriginalmsg */
{ "action.resumeretrycount", eCmdHdlrInt, 0 }, /* legacy: actionresumeretrycount */
{ "action.resumeinterval", eCmdHdlrInt, 0 }