diff --git a/dsmon.sh b/dsmon.sh index 3ab7523..bf45b16 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -214,7 +214,6 @@ CHECK(){ elif (( $(bc <<<"$dfreeper <= ${WARNING_LEVEL}") )); then fs_status='Warning' fs_status_color='Yellow' - else fs_status='' fs_status_color='Green' diff --git a/run.sh b/run.sh index 8630afd..86fc31b 100755 --- a/run.sh +++ b/run.sh @@ -6,7 +6,7 @@ source /opt/idssys/dsmon/config.settings.inc source /opt/idssys/defaults/colors.inc -if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then +if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "report" ]; then # if [ "${1}" = "gui" ]; then # DISP_HEADER # fi