(cherry picked from commit b8783e65e4)
This commit is contained in:
Christopher Laprise 2018-05-31 14:02:15 -04:00 committed by Marek Marczykowski-Górecki
parent c9cf96eeef
commit 90499bbf12
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -35,12 +35,13 @@ start() {
CMD_ARGS=
if "$CMD-restore" --help 2>&1 | grep -q wait=; then
# 'wait' must be last on command line if secs not specified
CMD_ARGS=--wait
fi
echo -n $"${CMD}: Applying firewall rules: "
"$CMD-restore" $CMD_ARGS "$IPTABLES_DATA"
"$CMD-restore" "$IPTABLES_DATA" $CMD_ARGS
ret="$?"
if [ "$ret" -eq 0 ]; then
echo OK