chiark / gitweb /
enable skipping of "naming-only" rules
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 5 Jan 2009 01:55:37 +0000 (02:55 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 5 Jan 2009 01:55:37 +0000 (02:55 +0100)
udev/udev-rules.c

index afd2e88..9861a88 100644 (file)
@@ -2019,7 +2019,7 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event
                        rule = cur;
                        /* possibly skip rules which want to set NAME, SYMLINK, OWNER, GROUP, MODE */
                        if (!can_set_name && rule->rule.flags)
                        rule = cur;
                        /* possibly skip rules which want to set NAME, SYMLINK, OWNER, GROUP, MODE */
                        if (!can_set_name && rule->rule.flags)
-                               ;//goto nomatch;
+                               goto nomatch;
                        esc = ESCAPE_UNSET;
                        break;
                case TK_M_ACTION:
                        esc = ESCAPE_UNSET;
                        break;
                case TK_M_ACTION: