From b86b704bfa9f9e0a24f1ecdd82ae9c81d6e1a458 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 12 Dec 2023 10:56:48 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 57e31f37..07357d8f 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -766,7 +766,7 @@ MAINTENANCE_MODE(){ for nip in "${!hosts}"; do if [ ${item_number} -lt 10 ]; then isel=" ${item_number})"; elif [ ${item_number} -lt 100 ]; then isel=" ${item_number})"; else isel=" ${item_number})"; fi MSG="${NM_HOSTNAMES[${nip}]} [${nip}]" - c=0; spc=''; spc1=`expr ${PRI_CW} + 2 - ${#MSG}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done + c=0; spc=''; spc1=`expr ${PRI_CW} + 4 - ${#MSG}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en "${isel} ${idsST[Bold]}${idsCL[LightCyan]}${MSG}${idsST[Reset]}${spc}${idsCL[Default]}: " echo -e "${idsCL[LightGreen]}here${idsCL[Default]}"