From 80cdcde99230270f6defe206225f124fe2abae2f Mon Sep 17 00:00:00 2001 From: elieobeid7 Date: Wed, 12 Jan 2022 16:17:28 +0400 Subject: [PATCH] list all wireguard clients --- wireguard-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index c750fc5..fdd4205 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -337,7 +337,7 @@ function listClients() { fi grep -E "^### Client" "/etc/wireguard/${SERVER_WG_NIC}.conf" | cut -d ' ' -f 3 | nl -s ') ' - done + exit 1 }