aboutsummaryrefslogtreecommitdiff
path: root/wireguard-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wireguard-install.sh')
-rw-r--r--wireguard-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/wireguard-install.sh b/wireguard-install.sh
index 5663a22..aa8283b 100644
--- a/wireguard-install.sh
+++ b/wireguard-install.sh
@@ -166,7 +166,7 @@ echo -e "\nHere is your client config file as a QR Code:"
qrencode -t ansiutf8 -l L < "$HOME/$SERVER_WG_NIC-client.conf"
# Check if WireGuard is running
-systemctl is-active --quiet wg-quick@$SERVER_WG_NIC
+systemctl is-active --quiet "wg-quick@$SERVER_WG_NIC"
WG_RUNNING=$?
# Warn user about kernel version mismatch with headers