Use proxy in time check
This commit is contained in:
parent
7d13eace32
commit
1d05137bb9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue