Update nodemgmt-scripts.sh
This commit is contained in:
@@ -589,7 +589,7 @@ RUN_COMMAND(){
|
|||||||
|
|
||||||
DOWNLIST(){
|
DOWNLIST(){
|
||||||
declare -i cw; declare -i spc1; declare -i c
|
declare -i cw; declare -i spc1; declare -i c
|
||||||
DOWN_LIST=`find ${NM_TMPFOLDER} -name "*.down"`
|
DOWN_LIST=`find ${NM_TMPFOLDER}/ -iname "*.down"`
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"
|
read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"
|
||||||
unset IFS
|
unset IFS
|
||||||
@@ -610,6 +610,7 @@ DOWNLIST(){
|
|||||||
DIVIDER true
|
DIVIDER true
|
||||||
fi
|
fi
|
||||||
echo ${DOWNLIST[@]}
|
echo ${DOWNLIST[@]}
|
||||||
|
echo ${DOWN_LIST[@]}
|
||||||
|
|
||||||
if [ "${DOWNLIST}" == "" ]; then
|
if [ "${DOWNLIST}" == "" ]; then
|
||||||
[ "${1}" == "report" ] && exit 0
|
[ "${1}" == "report" ] && exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user