Skip to content

Commit

Permalink
double quote "$@"
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxnor committed Sep 26, 2022
1 parent b303e37 commit 682be4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions usr/bin/whonix_firewall
Expand Up @@ -13,13 +13,13 @@
set -e

if [ -f "/run/qubes/this-is-templatevm" ]; then
whonix-workstation-firewall $@
whonix-workstation-firewall "$@"
elif [ -f "/usr/share/anon-gw-base-files/gateway" ]; then
whonix-gateway-firewall $@
whonix-gateway-firewall "$@"
elif [ -f "/usr/share/anon-ws-base-files/workstation" ]; then
whonix-workstation-firewall $@
whonix-workstation-firewall "$@"
elif [ -f "/usr/share/libvirt-dist/marker" ]; then
whonix-host-firewall $@
whonix-host-firewall "$@"
else
echo "ERROR: Neither file /usr/share/anon-gw-base-files/gateway nor file /usr/share/anon-ws-base-files/workstation exists! If this is a Whonix-Gateway, package anon-gw-base-files needs to be installed. If this is a Whonix-Workstation, package anon-ws-base-files needs to be installed." >&2
exit 1
Expand Down

0 comments on commit 682be4c

Please sign in to comment.