From 60595963d9bea6060aec576d6cf0162d82b25624 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 14 Apr 2019 21:40:55 -0500 Subject: [PATCH] Update test.sh --- test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test.sh b/test.sh index 3d3b999..9068a84 100755 --- a/test.sh +++ b/test.sh @@ -26,8 +26,8 @@ fi echo -en "${idsCL[LightYellow]}Waiting for nginx config replication across the nodes... ${idsCL[Default]}" -if [ "${1}" = "nginx" ]; then - if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then + + PH_CMD="ssh root@${WEB_HOSTS[0]}" echo "HERE: ${PH_CMD}" ${PH_CMD} rm -f /etc/nginx/test.repl @@ -40,6 +40,6 @@ if [ "${1}" = "nginx" ]; then done fi done - fi -fi + + echo -e "${idsCL[Green]}Completed${idsCL[Default]}" \ No newline at end of file