aboutsummaryrefslogtreecommitdiff
path: root/docker
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
commitbfc1b7ff0094ce9795ce3a7d4dcf70fe9fa7e164 (patch)
tree2af22adff9af481dca9670edc71c52fcaf142fc9 /docker
parentbdf21b39964a4a02ea41abfdd50cad708cd8ddc8 (diff)
downloadcrupest-bfc1b7ff0094ce9795ce3a7d4dcf70fe9fa7e164.tar.gz
crupest-bfc1b7ff0094ce9795ce3a7d4dcf70fe9fa7e164.tar.bz2
crupest-bfc1b7ff0094ce9795ce3a7d4dcf70fe9fa7e164.zip
Fix coscli check issue.
Diffstat (limited to 'docker')
-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