treewide: use consistent bash script indentation

Always use two spaces.
This commit is contained in:
Erik Arvstedt 2021-08-15 11:28:35 +02:00
parent c758d68ea4
commit b8043d3db5
No known key found for this signature in database
GPG key ID: 33312B944DD97846
3 changed files with 18 additions and 18 deletions

View file

@ -110,17 +110,17 @@ in
''}
setupSecret() {
file="$1"
user="$2"
group="$3"
permissions="$4"
if [[ ! -e $file ]]; then
echo "Error: Secret file '$file' is missing"
exit 1
fi
chown "$user:$group" "$file"
chmod "$permissions" "$file"
processedFiles+=("$file")
file="$1"
user="$2"
group="$3"
permissions="$4"
if [[ ! -e $file ]]; then
echo "Error: Secret file '$file' is missing"
exit 1
fi
chown "$user:$group" "$file"
chmod "$permissions" "$file"
processedFiles+=("$file")
}
dir="${cfg.secretsDir}"