diff --git a/build.sh b/build.sh index 54abb12..5389602 100644 --- a/build.sh +++ b/build.sh @@ -101,7 +101,7 @@ do process_templates "/etc/bind/$netname/" "$sigil_vars" # Wireguard - if [ $wg_enabled -eq "1" ]; then + if [ "$wg_enabled" -eq "1" ]; then # Remove existing configuration rm -v -rf /etc/wireguard/$netname/* # Copy all bind default files to /etc/(bind)