From c6b5153a87b3a9cf94bc366dde1065ea11eba3c2 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Sat, 23 May 2020 17:44:08 -0500 Subject: [PATCH] Update gravity-sync.sh --- gravity-sync.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 971a106..fec077e 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -201,9 +201,10 @@ function exit_withchange { exit } + function if_validate { if [ "$?" != "0" ]; then - echo "[${RED}FAIL${NC}] Previous Command Failed" + echo -e "[${RED}FAIL${NC}] Previous Command Failed" exit 1 fi }