diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 68f44dbc..238515cc 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -113,6 +113,7 @@ BACKUP(){ mkdir -p ${BACKUP_FOLDER} fi for item in "${!BACKUP_ITEMS[@]}"; do + echo "here: ${#BACKUP_ITEMS[$item]}" c=0; cw=14; spc=''; spc1=50-${#BACKUP_ITEMS[$item]}; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en "Backing up '${item}'${spc}" if [ -d ${BACKUP_ITEMS[$item]} ]; then