From 61cf2caa947f763bc543ff8af24075de7c696687 Mon Sep 17 00:00:00 2001 From: Piwccle Date: Wed, 17 Sep 2025 13:40:31 +0200 Subject: [PATCH] Fix installation check to use cat command for file existence --- .../community/singlenode/gcp/tf-gpc-openvidu-singlenode.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvidu-deployment/community/singlenode/gcp/tf-gpc-openvidu-singlenode.tf b/openvidu-deployment/community/singlenode/gcp/tf-gpc-openvidu-singlenode.tf index 9442d79a..d4c879c7 100644 --- a/openvidu-deployment/community/singlenode/gcp/tf-gpc-openvidu-singlenode.tf +++ b/openvidu-deployment/community/singlenode/gcp/tf-gpc-openvidu-singlenode.tf @@ -632,7 +632,7 @@ locals { set -eu -o pipefail # Check if installation already completed - if [ -e "/tmp/openvidu_install_counter.txt" ]; then + if cat /tmp/openvidu_install_counter.txt > /dev/null 2>&1; then # restart.sh cat > /usr/local/bin/restart.sh << 'RESTART_EOF' ${local.restart_script}