Merge pull request 'fix: ingore root folder' (#5650) from tmp/talos into main
Some checks failed
lint-test-helm / lint-helm (push) Successful in 2m35s
lint-test-helm / validate-kubeconform (push) Has been skipped
renovate / renovate (push) Has been cancelled

Reviewed-on: #5650
This commit was merged in pull request #5650.
This commit is contained in:
2026-04-07 15:39:28 +00:00

View File

@@ -22,8 +22,8 @@ data:
echo ">> Backups prior to '$DATE_RANGE' will be removed";
echo "";
FILES=$(s3cmd ls --no-check-certificate ${BUCKET}/cl01tl/etcd/ |
awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}');
FILES=$(s3cmd ls --no-check-certificate "${BUCKET}/cl01tl/etcd/" | \
awk -v file_match="$FILE_MATCH" '$4 < file_match && $4 !~ /\/$/ {print $4}')
if [ $? -ne 0 ]; then
echo "";