From a891d6439533f64a42baacdb409df4725ac7461e Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 26 Apr 2019 17:13:36 +0200 Subject: [PATCH] We should always exit after displaying a list, even if it is empty Signed-off-by: DL6ER --- advanced/Scripts/list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/list.sh b/advanced/Scripts/list.sh index d11ab96c..cd9dce52 100755 --- a/advanced/Scripts/list.sh +++ b/advanced/Scripts/list.sh @@ -212,8 +212,8 @@ Displaylist() { echo " ${count}: ${domain} (${status}, added ${nicedate})" count=$((count+1)) done <<< "${data}" - exit 0; fi + exit 0; } NukeList() {