From 369c1fe7f1501c4b995e505dbbc6849b12d1340b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 2 Jan 2023 14:42:31 -0600 Subject: [PATCH] update --- dsmon.sh | 1 - run.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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