From 3947ee2aae828c9a9babf618167760e2dc93e6fe Mon Sep 17 00:00:00 2001 From: Toni de la Fuente Date: Tue, 11 Jun 2019 20:37:18 +0200 Subject: [PATCH] Improved -l option to list uniq checks --- prowler | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prowler b/prowler index 5a3be417..f1249b43 100755 --- a/prowler +++ b/prowler @@ -271,7 +271,8 @@ execute_all() { # Function to show the titles of everything show_all_titles() { - for i in "${!GROUP_TITLE[@]}"; do + MAIN_GROUPS=(1 2 3 4 7) + for i in "${MAIN_GROUPS[@]}"; do show_group_title $i # Display the title of the checks IFS=',' read -ra CHECKS <<< ${GROUP_CHECKS[$i]}