mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 21:30:42 +01:00
template/bugfix: invalid template option conflict detection
closes https://github.com/rsyslog/rsyslog/issues/1811
This commit is contained in:
parent
73c6980060
commit
8ac4776543
@ -2000,7 +2000,6 @@ tplProcessCnf(struct cnfobj *o)
|
||||
if(o_sql) ++numopts;
|
||||
if(o_stdsql) ++numopts;
|
||||
if(o_json) ++numopts;
|
||||
if(o_casesensitive) ++numopts;
|
||||
if(numopts > 1) {
|
||||
errmsg.LogError(0, RS_RET_ERR, "template '%s' has multiple incompatible "
|
||||
"options of sql, stdsql or json specified", name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user