log if not QUIET

This commit is contained in:
Jérémy Lecour 2019-03-23 00:59:48 +01:00
parent 7702a8dd84
commit df9af8061d

View file

@ -243,7 +243,7 @@ failed() {
check_comments=$*
RC=1
if [ "${QUIET}" = 0 ]; then
if [ "${QUIET}" != 1 ]; then
if [ -n "${check_comments}" ] && [ "${VERBOSE}" = 1 ]; then
printf "%s FAILED! %s\n" "${check_name}" "${check_comments}" 2>&1
else