From d142397330c75a1b1ff103bc21cdabd0c28bb4f0 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Tue, 21 Sep 2021 15:36:31 -0600 Subject: [PATCH] Fix if --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)