Use proxy in time check

This commit is contained in:
Martin Lablans 2022-09-30 17:13:28 +02:00 committed by GitHub
parent 7d13eace32
commit 1d05137bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ source /etc/bridgehead/${PROJECT}.conf
source ${PROJECT}/vars source ${PROJECT}/vars
set +e set +e
SERVERTIME=$(curl -I $BROKER_URL) SERVERTIME=$(https_proxy=$HTTPS_PROXY_URL curl -m 5 -I $BROKER_URL)
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
log ERROR "Unable to connect to Samply.Beam broker at $BROKER_URL. Please check your proxy settings." log ERROR "Unable to connect to Samply.Beam broker at $BROKER_URL. Please check your proxy settings."
exit 1 exit 1