core/config bugfix: false error msg when config.enabled="on" is used

When the 'config.enabled="on"' config parameter an invalid error message
was emitted that this parameter is not supported. However, it was still
applied properly. This commit removes the invalid error message.

closes https://github.com/rsyslog/rsyslog/issues/4011
This commit is contained in:
Rainer Gerhards 2019-12-09 08:46:27 +01:00
parent 92d01f4446
commit fec4535f1c
No known key found for this signature in database
GPG Key ID: 0CB6B2A8BE80B499

View File

@ -1219,6 +1219,8 @@ nvlstGetParams(struct nvlst *lst, struct cnfparamblk *params,
for(val = lst; val != NULL ; val = val->next) {
val->bUsed = 1;
}
} else {
valnode->bUsed = 1;
}
}