Skip to content

Commit

Permalink
shellcheck: Double quote WG_INTERFACE to prevent globbing and word sp…
Browse files Browse the repository at this point in the history
…litting.
  • Loading branch information
lucasrangit committed Feb 19, 2022
1 parent 730c959 commit e9834e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect_to_wireguard_with_token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ echo -e "${green}OK!${nc}"
# just hardcode /etc/resolv.conf to "nameserver 10.0.0.242".
echo
echo Trying to create the wireguard interface...
wg-quick up $WG_INTERFACE || exit 1
wg-quick up "$WG_INTERFACE" || exit 1
echo
echo -e "${green}The WireGuard interface got created.${nc}
Expand Down

0 comments on commit e9834e2

Please sign in to comment.