Clean up after failed createchain2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3241 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-01-07 04:15:58 +00:00
parent d4a248373a
commit d86854301d

View File

@ -8868,6 +8868,7 @@ generate_firewall() # $1 = File Name
run_ip() {
if ! ip $@ ; then
error_message "ERROR: Command \"ip $@\" Failed"
rm -rf $TMP_DIR
exit 2
fi
}