shellcheck: fix setup-secrets.sh, spark-wallet

This commit is contained in:
Erik Arvstedt
2022-09-05 17:45:45 +02:00
committed by Otto Sabart
parent ee15837244
commit 01fa900633
2 changed files with 5 additions and 3 deletions

View File

@@ -210,7 +210,7 @@ in {
processedFiles=()
${
concatStrings (mapAttrsToList (n: v: ''
setupSecret ${n} ${v.user} ${v.group} ${v.permissions} }
setupSecret ${n} ${v.user} ${v.group} ${v.permissions}
'') cfg.secrets)
}
@@ -220,7 +220,9 @@ in {
)
if [[ $unprocessedFiles ]]; then
IFS=$'\n'
# shellcheck disable=SC2086
chown root: $unprocessedFiles
# shellcheck disable=SC2086
chmod 0440 $unprocessedFiles
fi