From f3fd5346c021e93fc1ec863ec8c5f3061bb18419 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Sat, 21 Mar 2020 15:44:32 +0100 Subject: [PATCH] Fix shellcheck --- .github/workflows/push.yml | 2 +- wireguard-install.sh | 2 +- 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