mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
Fix typo
This commit is contained in:
parent
0e1ce77c89
commit
a84f7364c0
1 changed files with 2 additions and 2 deletions
|
@ -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 ""
|
||||
|
@ -413,7 +413,7 @@ fucntion listClient() {
|
|||
fi
|
||||
|
||||
echo ""
|
||||
|
||||
|
||||
grep -E "^### Client" "/etc/wireguard/${SERVER_WG_NIC}.conf" | cut -d ' ' -f 3 | nl -s ') '
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue