Update nodemgmt-scripts.sh

This commit is contained in:
2019-07-25 22:34:02 -05:00
parent eea6a0eda2
commit 9f7c89d6e4

View File

@@ -1626,7 +1626,7 @@ GUI(){
done
}
if [ ${action-x} ]; then
if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ]; then
if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ] && [ "${1}" != "gui" ]; then
DISP_HEADER
fi
case $action in