remove invalid errors

This commit is contained in:
Heavybullets8 2022-12-20 11:27:51 -07:00
parent b13eaf0ff6
commit d86250e14d

View File

@ -32,7 +32,9 @@ export -f backup
deleteBackup(){ deleteBackup(){
clear -x && echo "pulling all restore points.." clear -x && echo "pulling all restore points.."
# shellcheck disable=SC2178
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)
# shellcheck disable=SC2128
if [[ -z "$list_backups" ]]; then if [[ -z "$list_backups" ]]; then
echo "No restore points available" echo "No restore points available"
exit exit