From c9e42e082c6ac6d5aafc215d756512cd005e854d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 24 Jul 2022 17:01:28 -0500 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 9fc5f1a5..f42ab836 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1850,7 +1850,7 @@ DOWNLIST(){ ditem=${downitem##*/} ditem=${ditem//.down} host=${ditem##*-} - item=`echo ${ditem} | sed 's|.*/||'` + item=${ditem#*-} c=0; spc='' spc1=${cw}-${#item}