Merge remote-tracking branch 'qubesos/pr/120'

* qubesos/pr/120:
  Fixes issue #3939

Fixes QubesOS/qubes-issues#3939
This commit is contained in:
Marek Marczykowski-Górecki 2018-06-05 01:37:32 +02:00
commit 8b1cb80db1
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -44,12 +44,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