diff options
author | mboelen <michael@cisofy.com> | 2016-04-25 12:51:37 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2016-04-25 12:51:37 +0300 |
commit | c02ab08b50ce71fbcd503b6b472574f4d9bd5dc5 (patch) | |
tree | 154a68032614e8f879c96b6fece2777bc05ee9e6 /include/functions | |
parent | bedadd9cd1b6031af7c59122f0c41ba579316f2f (diff) |
Set quiet and quickmode when using --show-warnings-only or show-warnings-only
Diffstat (limited to 'include/functions')
-rw-r--r-- | include/functions | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/functions b/include/functions index 77c4a71d..97b12a91 100644 --- a/include/functions +++ b/include/functions @@ -489,8 +489,10 @@ if [ ! "${TEXT}" = "" ]; then local SHOW=0 - if [ ${QUIET} -eq 0 ]; then SHOW=1; fi - if [ "${RESULT}" = "WARNING" -a ${SHOW_WARNINGS_ONLY} -eq 1 ]; then SHOW=1; fi + if [ ${SHOW_WARNINGS_ONLY} -eq 1 ]; then + if [ "${RESULT}" = "WARNING" ]; then SHOW=1; fi + elif [ ${QUIET} -eq 0 ]; then SHOW=1 + fi if [ ${SHOW} -eq 1 ]; then # Display (counting with -m instead of -c, to support language locale) |