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}