Fix bug in generated script without -e

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3284 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-01-14 18:55:25 +00:00
parent b027081e5b
commit 5c89f20784

View File

@ -9136,6 +9136,8 @@ if [ -n "$EXPORT" ]; then
else
cat >> $RESTOREBASE << __EOF__
. /usr/share/shorewall/functions
if [ ! -f /usr/share/shorewall/version ] || [ \$(cat /usr/share/shorewall/version) != $VERSION ]; then
error_message "This script requires Shorewall version $VERSION"
exit 2