1
0
mirror of https://github.com/speed47/spectre-meltdown-checker synced 2024-11-07 06:33:38 +01:00

fix: don't display summary if no CVE was tested (e.g. --hw-only)

This commit is contained in:
Stéphane Lesimple 2018-09-19 09:04:52 +02:00
parent bff38f1b26
commit 3cf9141601

View File

@ -3795,8 +3795,10 @@ do
fi fi
done done
_info "> \033[46m\033[30mSUMMARY:\033[0m$final_summary" if [ -n "$final_summary" ]; then
_info "" _info "> \033[46m\033[30mSUMMARY:\033[0m$final_summary"
_info ""
fi
_vars=$(set | grep -Ev '^[A-Z_[:space:]]' | sort | tr "\n" '|') _vars=$(set | grep -Ev '^[A-Z_[:space:]]' | sort | tr "\n" '|')
_debug "variables at end of script: $_vars" _debug "variables at end of script: $_vars"