diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 9ad74b3a..64f8b89e 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1494,8 +1494,8 @@ GUI(){ done } if [ ${action-x} ]; then - if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ]; then - #DISP_HEADER + if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ] && [ "${2}" = "q" ]; then + DISP_HEADER fi case $action in newcert) NEWCERT ${2};;