summaryrefslogtreecommitdiff
path: root/scripts/get.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/get.sh')
-rwxr-xr-xscripts/get.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index b4221f87a..c83e9a9bd 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -33,7 +33,7 @@ test_tools || { install_tools && test_tools; } ||
{
rv=$?
echo 'Dependencies Installation Fail'
- exit $rv
+ if [ $rv -ne 0 ];then exit $rv;else exit 1;fi
}
branch=
if [ x != x$1 ];then branch="-b $1";fi