mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 16:18:13 +01:00
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:
parent
b027081e5b
commit
5c89f20784
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user