mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-21 20:25:14 +00:00
Fix shellcheck
This commit is contained in:
parent
bf3cccb8fd
commit
f3fd5346c0
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user