From db9692795af31617fb8c0dc756f69906a8e4f000 Mon Sep 17 00:00:00 2001 From: janskiba Date: Wed, 21 Feb 2024 15:28:51 +0000 Subject: [PATCH] fix: Fix if syntrax --- lib/functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/functions.sh b/lib/functions.sh index d5c3a8c..cc2f3ec 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -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