mirror of https://github.com/samply/bridgehead.git
fix: make the check case insensitive
This commit is contained in:
parent
20359fde71
commit
7093166a53
|
@ -68,7 +68,7 @@ source /etc/bridgehead/${PROJECT}.conf
|
|||
source ${PROJECT}/vars
|
||||
|
||||
set +e
|
||||
SERVERTIME="$(https_proxy=$HTTPS_PROXY_URL curl -m 5 -s -I $BROKER_URL 2>&1 | grep -e '^Date: ' | sed -e 's/^Date: //')"
|
||||
SERVERTIME="$(https_proxy=$HTTPS_PROXY_URL curl -m 5 -s -I $BROKER_URL 2>&1 | grep -i -e '^Date: ' | sed -e 's/^Date: //i')"
|
||||
RET=$?
|
||||
set -e
|
||||
if [ $RET -ne 0 ]; then
|
||||
|
|
Loading…
Reference in New Issue