diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-16 13:29:28 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-16 13:29:28 +0200 |
commit | 1ff1aa424baa05a0fd06deeb6609a11b289ecd65 (patch) | |
tree | f03a9efa31ee63077fc35a22d76c4d76ea6d95dd /udev_rules_parse.c | |
parent | 254d6d3ca2188a396706b363d0840431d360fbd9 (diff) |
allow SYMLINK== match
Diffstat (limited to 'udev_rules_parse.c')
-rw-r--r-- | udev_rules_parse.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/udev_rules_parse.c b/udev_rules_parse.c index 124410a340..81c24b9cc1 100644 --- a/udev_rules_parse.c +++ b/udev_rules_parse.c @@ -525,7 +525,11 @@ static int add_to_rules(struct udev_rules *rules, char *line, const char *filena } if (strcasecmp(key, "SYMLINK") == 0) { - add_rule_key(rule, &rule->symlink, operation, value); + if (operation == KEY_OP_MATCH || + operation == KEY_OP_NOMATCH) + add_rule_key(rule, &rule->symlink_match, operation, value); + else + add_rule_key(rule, &rule->symlink, operation, value); valid = 1; continue; } |