From fde5d5e7b671ba36c5548ee8e55734ff5b41daed Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 4 Mar 2019 00:13:21 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 64f8b89e..6d929e8d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1183,6 +1183,7 @@ SET-PERMISSIONS(){ ${NCMD} chmod -R 750 /var/lib/gitea done else + DIVIDER if [ "${1}" != "" ]; then NEW_SITE=${1} echo -e "${idsCL[Yellow]}Setting new site folder permissions for (/var/www/${NEW_SITE})${idsCL[Default]}" @@ -1494,7 +1495,7 @@ GUI(){ done } if [ ${action-x} ]; then - if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ] && [ "${2}" = "q" ]; then + if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ]; then DISP_HEADER fi case $action in @@ -1512,7 +1513,7 @@ if [ ${action-x} ]; then backup) BACKUP;; status) STATUS ${2};; status-check) STATUS-CHECK ${2};; - set-permissions) DIVIDER; SET-PERMISSIONS ${2};; + set-permissions) SET-PERMISSIONS ${2};; service) SERVICE ${2} ${3};; services) SERVICES;; haproxy-config) HAPROXY-CONFIG;;