From 7efc2436d0c9b5a54e5cc364273bdd9a1b699e48 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 13 May 2023 23:08:31 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 1 + 1 file changed, 1 insertion(+) 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