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 }