From ceb1ac85b3dfe48da7558020dd36bc5212532d4b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Dec 2023 08:28:23 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index e29420d0..e658d002 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -633,14 +633,15 @@ DOWNLIST(){ fi else + [ "${1}" == "report" ] && dlen=90 || dlen=110 echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}" - DIVIDER false yellow 110 + DIVIDER false yellow ${dlen} if [ "${1}" == "report" ]; then echo -e "${idsCL[Yellow]}[Type] [Host/Service/Docker Name] [Host] [Down_Time]${idsCL[Default]}" else echo -e "${idsCL[Yellow]} [Type] [Host/Service/Docker Name] [Host] [Down_Time] [Notifications]${idsCL[Default]}" fi - DIVIDER false yellow 110 + DIVIDER false yellow ${dlen} until [ "${choice^^}" = "E" ]; do cw=35; cw1=11; cw2=20; is=1; @@ -699,7 +700,7 @@ DOWNLIST(){ echo -e "\033[K${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemtype}${spca}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}" fi - DIVIDER false darkGray 110 + DIVIDER false darkGray ${dlen} ((is++)) done