summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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