Update test.sh

This commit is contained in:
2019-02-06 13:28:28 -06:00
parent f0690ecc49
commit 1804003615

View File

@@ -19,7 +19,8 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot
fi
echo -en "${idsCL[LightYellow]}Waiting for certifcate replication between the nodes...${idsCL[Default]}"
until [ ${same} = 0 ]; do
same=1
until [ "${same}" = "0" ]; do
same=`ssh root@10.5.10.52 "cat /etc/letsencrypt/live/test2.scity.us/cert.pem" | diff - /etc/letsencrypt/live/test2.scity.us/cert.pem`
done