]> err.no Git - systemd/commitdiff
rules_generator: add missing write_net_rules unlock
authorJiri Slaby <jslaby@suse.cz>
Mon, 31 Dec 2007 13:24:55 +0000 (14:24 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 31 Dec 2007 13:24:55 +0000 (14:24 +0100)
extras/rule_generator/write_net_rules

index b25ecfd8069e7671b68c27540dbfd99643dec1b3..9b66c938f39380c1b6970f57b1447fe263192de5 100644 (file)
@@ -88,6 +88,7 @@ fi
 
 if [ -z "$match" ]; then
        echo "missing valid match" >&2
+       unlock_rules_file
        exit 1
 fi