From 9a296a5f15ba2a527336f63347a36dcf36d1d4f4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 17:29:48 -0600 Subject: [PATCH] update --- nodemgmt-scripts.sh | 2 +- run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index fcc0174d..bb0e9a39 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1070,7 +1070,7 @@ GUI(){ done } if [ ${action-x} ]; then - if [[ "${noheader}" != *" ${action} "* ]]; then + if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then DISP_HEADER fi case $action in diff --git a/run.sh b/run.sh index b4a1b9ac..f64145b5 100755 --- a/run.sh +++ b/run.sh @@ -12,7 +12,7 @@ else fi source /opt/idssys/nodemgmt/defaults.inc -if [[ "${noheader}" != *" ${action} "* ]]; then +if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then #if [ "$1" != "service" ] && [ "$1" != "status-check" ] && [ "$1" != "nightlyrenew" ] && [ "$1" != "backup" ] && [ "$2" != "report" ]; then if [ "${1}" = "gui" ]; then DISP_HEADER