2
0
Fork 0

sh.zio.backup: fix get_secret()

main
Ducky 2023-08-23 00:17:23 +01:00
parent 9a2f0783f1
commit a72e5d6f18
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ function get_dump_dir() {
function get_secret() {
secret_path="$secrets_dir/$1"
if [[ -f "$1" ]]; then
if [[ -f "$secret_path" ]]; then
cat "$secret_path"
fi
}