Correct handling of safe-restart with SAVE_IPSETS

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-12-27 16:29:01 -08:00
parent 638c7c5bca
commit 65bf33bcf3
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -1235,7 +1235,7 @@ safe_commands() {
echo "New configuration has been accepted"
else
if [ "$command" = "restart" -o "$command" = "reload" ]; then
run_it ${VARDIR}/.safe restore
run_it ${VARDIR}/.safe -r restore
else
run_it ${VARDIR}/.$command clear
fi