diff options
author | crupest <crupest@outlook.com> | 2022-11-23 19:47:58 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-23 19:47:58 +0800 |
commit | bfc1b7ff0094ce9795ce3a7d4dcf70fe9fa7e164 (patch) | |
tree | 2af22adff9af481dca9670edc71c52fcaf142fc9 /docker | |
parent | bdf21b39964a4a02ea41abfdd50cad708cd8ddc8 (diff) | |
download | crupest-bfc1b7ff0094ce9795ce3a7d4dcf70fe9fa7e164.tar.gz crupest-bfc1b7ff0094ce9795ce3a7d4dcf70fe9fa7e164.tar.bz2 crupest-bfc1b7ff0094ce9795ce3a7d4dcf70fe9fa7e164.zip |
Fix coscli check issue.
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/auto-backup/daemon.bash | 2 |
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 |