Only read headers from Broker to check clock skew

This commit is contained in:
lablans 2023-07-28 11:23:54 +00:00
parent 091402eea0
commit 9facafd0c4
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="$(https_proxy=$HTTPS_PROXY_URL curl -m 5 -s -v $BROKER_URL 2>&1)" SERVERTIME="$(https_proxy=$HTTPS_PROXY_URL curl -m 5 -s -I $BROKER_URL 2>&1)"
RET=$? RET=$?
set -e set -e
if [ $RET -ne 0 ]; then if [ $RET -ne 0 ]; then