Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-24 16:36:17 -05:00
parent 54a868c789
commit 2ef84e5f2d

View File

@@ -1847,7 +1847,7 @@ DOWNLIST(){
cw=30;
c=0; spc2=''; until [ $c = ${cw} ]; do spc2="${spc2} "; c=`expr $c + 1`; done
# for downitem in $(</tmp/downlist); do
for i in `find /opt/idssys/nodemgmt -name "*.down"`; do
for downitem in `find /opt/idssys/nodemgmt -name "*.down"`; do
c=0; spc=''
spc1=${cw}-${#downitem}
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done