diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 4b84b9a0..4d075808 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1336,8 +1336,13 @@ SERVICE(){ echo -e "${idsCL[Red]}(${2}) is not an allowed service action.${idsCL[Default]}" exit 1 fi - if [ "$2" = "start" ] && [ "$1" = "haproxy" ]; then TACT='restart'; else TACT="${2}"; fi - + if [ "$2" = "start" ] && [ "$1" = "haproxy" ]; then + TACT='restart' + else + TACT="${2}" + fi + + echo echo -e "${idsCL[LightGreen]}[[${NM_SERVICES[${1}]} ${NM_SRVCOPTS[${2}]}ing]]${idsCL[Default]}" echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"