From 51c7e767fff74b8eae0906102553de25df20aa18 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 29 Jul 2002 23:53:26 +0000 Subject: [PATCH] Remove lock file when firewall script dies git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@165 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall/firewall b/Shorewall/firewall index 51870a70c..9c3300c93 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -3488,6 +3488,8 @@ nolock= [ $# -ne 1 ] && usage +trap "my_mutex_off; exit 2" 1 2 3 4 5 6 9 + command="$1" case "$command" in