conf: treat FINAL rule indeed the final one

This commit is contained in:
eric
2022-05-02 06:44:02 +08:00
parent ec81206469
commit 11506c9820

View File

@@ -611,7 +611,7 @@ pub fn from_lines(lines: Vec<io::Result<String>>) -> Result<Config> {
if rule.type_field == "FINAL" {
rule.target = params[1].to_string();
rules.push(rule);
continue; // maybe break? to enforce FINAL as the final rule
break; // FINAL is final.
}
if params.len() < 3 {