diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-10-22 20:50:23 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-10-22 20:50:23 +0200 |
commit | 95691487363ef213fec6975219c87d29415a2479 (patch) | |
tree | f614246d9e536855273a1650befef5d4a2200ccf | |
parent | af9cfc11909b3c33f86f495fc0a48e53fdabb32d (diff) |
ignore entire rules line if unknown keys are used
-rw-r--r-- | udev/udev-rules.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 75636d9bd6..f540a5ae7b 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -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 */ |