Update nodemgmt-scripts.sh
This commit is contained in:
@@ -589,7 +589,7 @@ RUN_COMMAND(){
|
||||
|
||||
DOWNLIST(){
|
||||
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'
|
||||
read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"
|
||||
unset IFS
|
||||
@@ -610,6 +610,7 @@ DOWNLIST(){
|
||||
DIVIDER true
|
||||
fi
|
||||
echo ${DOWNLIST[@]}
|
||||
echo ${DOWN_LIST[@]}
|
||||
|
||||
if [ "${DOWNLIST}" == "" ]; then
|
||||
[ "${1}" == "report" ] && exit 0
|
||||
|
||||
Reference in New Issue
Block a user