sh.zio.backup: fix get_secret()
parent
9a2f0783f1
commit
a72e5d6f18
|
@ -211,7 +211,7 @@ function get_dump_dir() {
|
||||||
function get_secret() {
|
function get_secret() {
|
||||||
secret_path="$secrets_dir/$1"
|
secret_path="$secrets_dir/$1"
|
||||||
|
|
||||||
if [[ -f "$1" ]]; then
|
if [[ -f "$secret_path" ]]; then
|
||||||
cat "$secret_path"
|
cat "$secret_path"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue