minor formatting change

This commit is contained in:
Nathaniel Landau
2022-01-14 22:20:00 -05:00
parent aff64733a7
commit 0475b784cc

View File

@@ -106,7 +106,7 @@ _alert_() {
fi
_writeToScreen_() {
("${QUIET}") && return 0 # Print to console when script is not 'quiet'
[[ ${QUIET} == true ]] && return 0 # Print to console when script is not 'quiet'
[[ ${VERBOSE} == false && ${_alertType} =~ ^(debug|verbose) ]] && return 0
if ! [[ -t 1 || -z ${TERM:-} ]]; then # Don't use colors on non-recognized terminals