From ec14830138c35fb9fa2e58386ca9359162aaa4f2 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 23 Nov 2022 19:47:58 +0800 Subject: Fix coscli check issue. --- docker/auto-backup/daemon.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/auto-backup') 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 -- cgit v1.2.3