Beautify listing client

This commit is contained in:
XAedgeS 2021-11-07 13:25:16 +07:00
parent a84f7364c0
commit 38055cce87

View file

@ -412,7 +412,7 @@ function listClient() {
exit 1
fi
echo ""
echo "There are ${NUMBER_OF_CLIENTS}:"
grep -E "^### Client" "/etc/wireguard/${SERVER_WG_NIC}.conf" | cut -d ' ' -f 3 | nl -s ') '
}