Fix installation check condition to use -e for file existence

google-cloud-platform
Piwccle 2025-09-17 13:21:45 +02:00
parent 58d09fc693
commit 88ee40b41c
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ locals {
set -eu -o pipefail
# Check if installation already completed
if [[ -f "/tmp/openvidu_install_counter.txt" ]]; then
if [ -e "/tmp/openvidu_install_counter.txt" ]; then
# restart.sh
cat > /usr/local/bin/restart.sh << 'RESTART_EOF'
${local.restart_script}