Skip to content

Commit

Permalink
Fixed issue #348 -e option back to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni de la Fuente committed Aug 17, 2019
1 parent 02d2561 commit 8333c57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion prowler
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,12 @@ execute_group_by_id() {
done
}

# Function to execute all checks in all groups
# Function to execute all checks in all groups except extras if -e is invoked
execute_all() {
for i in "${!GROUP_TITLE[@]}"; do
if [[ $EXTRAS ]]; then
GROUP_RUN_BY_DEFAULT[7]='N'
fi
if [ "${GROUP_RUN_BY_DEFAULT[$i]}" == "Y" ]; then
execute_group $i
fi
Expand Down

0 comments on commit 8333c57

Please sign in to comment.