From 0b1330c6b4774bd5469b4dc78bc051806d35abbf Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Sat, 22 Apr 2017 08:51:48 +0800 Subject: judge $rv --- scripts/get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1