rclone: correctly escape whitespace in secrets
This commit is contained in:
parent
63e77d09a1
commit
7a08b8c898
4 changed files with 33 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ in {
|
|||
lib.mapAttrsToList (secret: secretFile: ''
|
||||
${lib.getExe cfg.package} config update \
|
||||
${remote.name} config_refresh_token=false \
|
||||
${secret} $(cat ${secretFile}) \
|
||||
${secret} "$(cat ${secretFile})" \
|
||||
--quiet > /dev/null
|
||||
'') remote.value.secrets or { };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue