mirror of https://github.com/OpenVidu/openvidu.git
Fix installation check condition to use -e for file existence
parent
58d09fc693
commit
88ee40b41c
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue