From 111979c9ed47ba5cf0a59d977fd10d9bd30110dc Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 28 Jan 2019 00:41:30 -0600 Subject: [PATCH] Update run.sh --- run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 3edecfe3..d40b981b 100755 --- a/run.sh +++ b/run.sh @@ -13,7 +13,9 @@ echo -e "Node hostname: ${node_hostname}" echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" echo "" -if [ "$1" != "service" ]; then +if [ "$1" != "service2" ]; then + echo -e "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}" + echo "" cd /opt/idssys/defaults if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then git fetch origin master >/dev/null 2>&1