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 | ec14830138c35fb9fa2e58386ca9359162aaa4f2 (patch) | |
tree | 2af22adff9af481dca9670edc71c52fcaf142fc9 /docker/auto-backup | |
parent | f083272356417be74a5864d5ef6cfb1878558826 (diff) | |
download | crupest-ec14830138c35fb9fa2e58386ca9359162aaa4f2.tar.gz crupest-ec14830138c35fb9fa2e58386ca9359162aaa4f2.tar.bz2 crupest-ec14830138c35fb9fa2e58386ca9359162aaa4f2.zip |
Fix coscli check issue.
Diffstat (limited to 'docker/auto-backup')
-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 |