mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Update gravity-sync.sh
This commit is contained in:
parent
f2e235c88d
commit
c6b5153a87
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user