Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-06 16:02:03 -06:00
parent 45146a6f61
commit c56ab32547

View File

@@ -649,10 +649,9 @@ DOWNLIST(){
ditem=${ditem//.down}
host=${ditem%%~*}
item=${ditem#*~}
echo "HERE: ${ditem} - ${host} - ${item}"
# echo "HERE: ${ditem} - ${host} - ${item}"
if [[ $ditem == *"~"* ]] && [[ $ditem == *".repl."* ]] && [ "${NM_REPL_DESC[${item}]}" != "" ]; then
if [[ $ditem == *"~"* ]] && [[ $ditem == *".repl"* ]] && [ "${NM_REPL_DESC[${item}]}" != "" ]; then
itemname=${NM_REPL_DESC[${item}]}
itemtype=SYNC