mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-24 05:56:02 +03: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
|
- name: shellcheck
|
||||||
uses: ludeeus/action-shellcheck@0.0.1
|
uses: ludeeus/action-shellcheck@0.0.1
|
||||||
env:
|
env:
|
||||||
SHELLCHECK_OPTS: -e SC1091
|
SHELLCHECK_OPTS: -e SC1091,SC1117
|
||||||
with:
|
with:
|
||||||
args: wireguard-install.sh
|
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"
|
qrencode -t ansiutf8 -l L < "$HOME/$SERVER_WG_NIC-client.conf"
|
||||||
|
|
||||||
# Check if WireGuard is running
|
# 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=$?
|
WG_RUNNING=$?
|
||||||
|
|
||||||
# Warn user about kernel version mismatch with headers
|
# Warn user about kernel version mismatch with headers
|
||||||
|
Loading…
Reference in New Issue
Block a user