aboutsummaryrefslogtreecommitdiff
path: root/docker/auto-backup
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-23 19:47:58 +0800
committercrupest <crupest@outlook.com>2022-11-23 19:47:58 +0800
commitec14830138c35fb9fa2e58386ca9359162aaa4f2 (patch)
tree2af22adff9af481dca9670edc71c52fcaf142fc9 /docker/auto-backup
parentf083272356417be74a5864d5ef6cfb1878558826 (diff)
downloadcrupest-ec14830138c35fb9fa2e58386ca9359162aaa4f2.tar.gz
crupest-ec14830138c35fb9fa2e58386ca9359162aaa4f2.tar.bz2
crupest-ec14830138c35fb9fa2e58386ca9359162aaa4f2.zip
Fix coscli check issue.
Diffstat (limited to 'docker/auto-backup')
-rwxr-xr-xdocker/auto-backup/daemon.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/auto-backup/daemon.bash b/docker/auto-backup/daemon.bash
index 6a39fa5..5dd8cfe 100755
--- a/docker/auto-backup/daemon.bash
+++ b/docker/auto-backup/daemon.bash
@@ -14,7 +14,7 @@ fi
xz --version
tar --version
-bucket_yaml=$(/coscli config show | yq ".buckets[] | select(.alias == \"crupest-backup\")")
+bucket_yaml=$(yq ".buckets[] | select(.alias == \"crupest-backup\")" ~/.cos.yaml)
# check bucket_yaml is not empty
if [[ -z "$bucket_yaml" ]]; then