summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2007-12-31 14:24:55 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-12-31 14:24:55 +0100
commit6e509e539b15ae882afd8ce3fafe1fbd33008509 (patch)
tree7c08f2c54e8229c195ec7bd438d1d4d1311df439
parentc74fd7a768fc3efc2950186e3fb879de9f358d8d (diff)
rules_generator: add missing write_net_rules unlock
-rw-r--r--extras/rule_generator/write_net_rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/rule_generator/write_net_rules b/extras/rule_generator/write_net_rules
index b25ecfd806..9b66c938f3 100644
--- a/extras/rule_generator/write_net_rules
+++ b/extras/rule_generator/write_net_rules
@@ -88,6 +88,7 @@ fi
if [ -z "$match" ]; then
echo "missing valid match" >&2
+ unlock_rules_file
exit 1
fi