Debugged version of routing backout

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4760 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2006-10-29 17:56:03 +00:00
parent ae1b699546
commit 74ff08780f
2 changed files with 16 additions and 10 deletions

View File

@ -1314,8 +1314,8 @@ undo_routing() {
#
# Restore the rest of the routing table
#
if [ -f ${VARDIR}/undo_routing; then
. undo_routing
if [ -f ${VARDIR}/undo_routing ]; then
. ${VARDIR}/undo_routing
progress_message "Shorewall-generated routing tables and routing rules removed"
rm -f ${VARDIR}/undo_routing
fi