summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-08-08 03:53:46 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-08-08 03:53:46 +0900
commita7b75c99a5c2dd76163e229a4b6f9f49401272e0 (patch)
tree44d1f957944209b46723c2b8908c3a4fbeee5a9e
parentbae10a6582f42bab7c8b46e2817ed286ab7807c9 (diff)
[install] Stop installer when failed to download the binary
Close #312
-rwxr-xr-xinstall1
1 files changed, 1 insertions, 0 deletions
diff --git a/install b/install
index d27c0179..0b4b9d95 100755
--- a/install
+++ b/install
@@ -96,6 +96,7 @@ if [ -n "$binary_error" ]; then
echo "No prebuilt binary for $archi ... "
else
echo " - $binary_error !!!"
+ exit 1
fi
echo "Installing legacy Ruby version ..."