Fix shellcheck

This commit is contained in:
Stanislas Lange 2020-03-21 15:44:32 +01:00
parent bf3cccb8fd
commit f3fd5346c0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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