From d86250e14dfc612198e58e3e45738d65de67cb65 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 20 Dec 2022 11:27:51 -0700 Subject: [PATCH] remove invalid errors --- functions/backup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/backup.sh b/functions/backup.sh index 1b05177e..3a2e9b71 100644 --- a/functions/backup.sh +++ b/functions/backup.sh @@ -32,7 +32,9 @@ export -f backup deleteBackup(){ 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) +# shellcheck disable=SC2128 if [[ -z "$list_backups" ]]; then echo "No restore points available" exit