programs.rclone: fix injecting secret when value begins with "-"
This commit is contained in:
parent
4896177e2c
commit
e44549074a
3 changed files with 12 additions and 8 deletions
|
|
@ -259,7 +259,7 @@ in
|
|||
|
||||
if ! ${lib.getExe cfg.package} config update \
|
||||
${remote.name} config_refresh_token=false \
|
||||
${secret} "$(cat "${secretFile}")" \
|
||||
${secret}="$(cat "${secretFile}")" \
|
||||
--non-interactive; then
|
||||
echo "Failed to inject secret \"${secretFile}\""
|
||||
cleanup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue