diff --git a/test.sh b/test.sh index b4dfd7a..d13f0f8 100755 --- a/test.sh +++ b/test.sh @@ -19,8 +19,7 @@ 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]}" -#same=1 -until [ "${same}" = "0" ]; do +until [ "${same}" = "" ]; 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