fix: Fix if syntrax

This commit is contained in:
janskiba 2024-02-21 15:28:51 +00:00
parent b0558e4f88
commit 0e7790f89c
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