aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/push.yml2
-rw-r--r--wireguard-install.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index e40d06c..7c67b74 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -8,6 +8,6 @@ jobs:
- name: shellcheck
uses: ludeeus/action-shellcheck@0.0.1
env:
- SHELLCHECK_OPTS: -e SC1091
+ SHELLCHECK_OPTS: -e SC1091,SC1117
with:
args: wireguard-install.sh
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