Update nodemgmt-scripts.sh
This commit is contained in:
1 parent
3c15e85d7a
commit
0e5188f6f8
1 file changed
+1
-1
+1
-1
@@ -1851,7 +1851,7 @@ DOWNLIST(){
|
||||
ditem=${ditem//.down}
|
||||
host=${ditem%%-*}
|
||||
item=${ditem#*-}
|
||||
if [ $ditem ?? '-' ]; then item=${ditem#*-};
|
||||
if [[ $ditem == *"-"* ]]; then item=${ditem#*-};
|
||||
else item='HOST DOWN'; fi
|
||||
c=0; spc=''
|
||||
spc1=${cw}-${#item}
|
||||
|
||||
Reference in new issue
Block a user