From e9fe0ee51216cd71b14f8f219a6f8d936b3781e3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 23:30:53 -0600 Subject: [PATCH] Update run.sh --- run.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/run.sh b/run.sh index 05845e7d..3a2458b4 100755 --- a/run.sh +++ b/run.sh @@ -1,8 +1,6 @@ #!/usr/bin/env bash # NodeMgmt Loader -action=$1 - source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc if [ ! -f /opt/idssys/settings/nodemgmt.conf ]; then @@ -11,8 +9,8 @@ else source /opt/idssys/settings/nodemgmt.conf fi source /opt/idssys/nodemgmt/defaults.inc - -if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then +echo "$1 - $2" +if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then if [ "${1}" = "gui" ]; then DISP_HEADER fi