From 38055cce8790c248b2ca49ebb5ed8573b440ec5a Mon Sep 17 00:00:00 2001 From: XAedgeS Date: Sun, 7 Nov 2021 13:25:16 +0700 Subject: [PATCH] Beautify listing client --- wireguard-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index 3b8a91e..85b48fe 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -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 ') ' }