From 291ad68542dc1db84e16a8773eff9332307e6770 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Fri, 29 Jul 2022 00:26:47 -0600 Subject: [PATCH] fix --- functions/backup.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/functions/backup.sh b/functions/backup.sh index 916291ff..2dd2c960 100644 --- a/functions/backup.sh +++ b/functions/backup.sh @@ -34,16 +34,15 @@ while true do clear -x && echo "pulling all restore points.." list_backups=$(cli -c 'app kubernetes list_backups' | sort -t '_' -Vr -k2,7 | tr -d " \t\r" | awk -F '|' '{print $2}' | nl -s ") " | column -t) - clear -x if [[ -z "$list_backups" ]]; then echo "No restore points available" exit - else - title - echo -e "Choose a Restore Point to Delete\nThese may be out of order if they are not HeavyScript backups" fi while true do + clear -x + title + echo -e "Choose a Restore Point to Delete\nThese may be out of order if they are not HeavyScript backups" echo "$list_backups" echo echo "0) Exit"