fix
This commit is contained in:
parent
571e00a2f4
commit
291ad68542
@ -34,16 +34,15 @@ while true
|
|||||||
do
|
do
|
||||||
clear -x && echo "pulling all restore points.."
|
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)
|
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
|
if [[ -z "$list_backups" ]]; then
|
||||||
echo "No restore points available"
|
echo "No restore points available"
|
||||||
exit
|
exit
|
||||||
else
|
|
||||||
title
|
|
||||||
echo -e "Choose a Restore Point to Delete\nThese may be out of order if they are not HeavyScript backups"
|
|
||||||
fi
|
fi
|
||||||
while true
|
while true
|
||||||
do
|
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 "$list_backups"
|
||||||
echo
|
echo
|
||||||
echo "0) Exit"
|
echo "0) Exit"
|
||||||
|
Loading…
Reference in New Issue
Block a user