fix shellcheck prevent globbing
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Philipp Rothmann 2023-06-13 11:57:42 +02:00
parent 9cb3a469f3
commit 50b317c12d

View File

@ -96,7 +96,7 @@ if [[ \ $*\ != *\ --skip-backup\ * ]]; then
fi
# add volume paths to backup path
backup_paths+=(/var/lib/docker/volumes/${stack_name}_*)
backup_paths+=(/var/lib/docker/volumes/"${stack_name}"_*)
fi
done
@ -108,6 +108,7 @@ if [[ \ $*\ != *\ --skip-backup\ * ]]; then
fi
if [[ \ $*\ != *\ --skip-upload\ * ]]; then
echo "${backup_paths[@]}"
_restic backup --host "$server_name" --tag coop-cloud "${backup_paths[@]}"
fi