From 9ab1ad5f49d7baf19664cac428bc3b3b98a1b79d Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Thu, 15 Sep 2022 16:18:31 -0600 Subject: [PATCH] Opps that one's not negated --- back/lib/admin/peer/list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/lib/admin/peer/list b/back/lib/admin/peer/list index e206e19..f1e451a 100755 --- a/back/lib/admin/peer/list +++ b/back/lib/admin/peer/list @@ -15,7 +15,7 @@ # 18: rDNS failed CONFIG_FILE='/etc/wgapi/config' -if ! [ ${#} -eq 1 ] || [ ${#} -eq 2 ]; then +if [ ${#} -eq 1 ] || [ ${#} -eq 2 ]; then printf 'ERROR! Bad input: %s %s\n' "${0}" "${*}" >>"${LOGFILE}" exit 3 fi & if ! [ -x '/usr/bin/wg' ]; then