]> err.no Git - systemd/commitdiff
rule_generator: fix enumeration for write_cd_rules
authorHarald Hoyer <harald@redhat.com>
Mon, 22 Dec 2008 11:26:06 +0000 (12:26 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 22 Dec 2008 14:05:11 +0000 (15:05 +0100)
quote +, as it would be taken as a part of the regexp otherwise
https://bugzilla.redhat.com/show_bug.cgi?id=477535

extras/rule_generator/write_cd_rules

index 8de227661db449b0273883eb033446b8656090ea..398cd2737b2c6aac12fcbd74d83e5a050fd0350d 100644 (file)
@@ -23,7 +23,7 @@ RULES_FILE="/etc/udev/rules.d/70-persistent-cd.rules"
 . /lib/udev/rule_generator.functions
 
 find_next_available() {
-       raw_find_next_available "$(find_all_rules 'SYMLINK+=' "$1")"
+       raw_find_next_available "$(find_all_rules 'SYMLINK\+=' "$1")"
 }
 
 write_rule() {