From 3c15e85d7aec1537cb0d0d98c4d82ee8c8b33fa2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 24 Jul 2022 17:13:28 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 0f8dad23..b4b2e02b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1851,8 +1851,8 @@ DOWNLIST(){ ditem=${ditem//.down} host=${ditem%%-*} item=${ditem#*-} - if [ $ditem ?? '-' ]; then item=${ditem#*-} - else item='HOST DOWN'; done + if [ $ditem ?? '-' ]; then item=${ditem#*-}; + else item='HOST DOWN'; fi c=0; spc='' spc1=${cw}-${#item} echo "HERE: $downitem ~ $ditem ~ $host ~ $item ~ $spc1"