sudo for chown

This commit is contained in:
Martin Lablans
2022-10-06 10:15:21 +02:00
parent 92f0cfb1c6
commit d2e0368c8e
3 changed files with 4 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ esac
# Load variables from /etc/bridgehead and /srv/docker/bridgehead
set -a
source /etc/bridgehead/$PROJECT.conf || fail_and_report 1 "/etc/bridgehead/$PROJECT.conf not found"
fetchVarsFromVaultByFile /etc/bridgehead/$PROJECT.conf || exit 1
fetchVarsFromVaultByFile /etc/bridgehead/$PROJECT.conf || fail_and_report 1 "Unable to fetchVarsFromVaultByFile"
[ -e ./$PROJECT/vars ] && source ./$PROJECT/vars
set +a