fix: Fix if syntrax

This commit is contained in:
janskiba 2024-02-21 15:28:51 +00:00 committed by juarez
parent 74eb86f8af
commit db9692795a
1 changed files with 2 additions and 0 deletions

View File

@ -134,8 +134,10 @@ fixPermissions() {
sudo $CHOWN -R bridgehead /etc/bridgehead /srv/docker/bridgehead
if [ -d "/tmp/bridgehead" ]; then # Used by datashield
sudo chown -R bridgehead:docker "/tmp/bridgehead"
fi
if [ -d "/var/cache/bridgehead" ]; then # Used by the teiler
sudo chown -R bridgehead:docker "/var/cache/bridgehead"
fi
}
source lib/monitoring.sh