summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev/udev-rules.c2
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 */