diff --git a/check_modules.sh b/check_modules.sh index 18d3e1f..0e115d1 100755 --- a/check_modules.sh +++ b/check_modules.sh @@ -6,10 +6,8 @@ # function print_usage() { - echo <> $logfile cat $module_clean_env_file >> $logfile echo "--------------------" >> $logfile @@ -77,8 +77,9 @@ do for exclude_pattern in ${exclude_patterns[@]} do if [[ "$m_original" =~ "$exclude_pattern" ]]; then - echo MATCH: $exclude_pattern + echo -e "Skipping $m_original (matches $exclude_pattern) ... ${IMagenta} skipped${Color_Off}" match=1 + continue fi done if [ $match == 1 ]; then