1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-10-31 18:52:31 +00:00
This commit is contained in:
XAedgeS 2021-11-07 13:23:21 +07:00
parent 0e1ce77c89
commit a84f7364c0

View File

@ -404,7 +404,7 @@ function uninstallWg() {
fi
}
fucntion listClient() {
function listClient() {
NUMBER_OF_CLIENTS=$(grep -c -E "^### Client" "/etc/wireguard/${SERVER_WG_NIC}.conf")
if [[ ${NUMBER_OF_CLIENTS} == '0' ]]; then
echo ""