ignore entire rules line if unknown keys are used
This commit is contained in:
parent
af9cfc1190
commit
9569148736
|
@ -1612,7 +1612,9 @@ static int add_rule(struct udev_rules *rules, char *line,
|
|||
|
||||
continue;
|
||||
}
|
||||
|
||||
err(rules->udev, "unknown key '%s' in %s:%u\n", key, filename, lineno);
|
||||
goto invalid;
|
||||
}
|
||||
|
||||
/* add rule token */
|
||||
|
|
Loading…
Reference in New Issue