diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-27 05:31:07 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-27 05:31:07 +0800 |
commit | 1b74b98f90d6641b2cd18c60dc9b5829a9870d86 (patch) | |
tree | 66bcdee3b6cf78d60296eb79d8aa39d480355c3f | |
parent | d57b7e8d5fd59007e7fc42132de5cc9459a2bc71 (diff) | |
download | dexon-1b74b98f90d6641b2cd18c60dc9b5829a9870d86.tar dexon-1b74b98f90d6641b2cd18c60dc9b5829a9870d86.tar.gz dexon-1b74b98f90d6641b2cd18c60dc9b5829a9870d86.tar.bz2 dexon-1b74b98f90d6641b2cd18c60dc9b5829a9870d86.tar.lz dexon-1b74b98f90d6641b2cd18c60dc9b5829a9870d86.tar.xz dexon-1b74b98f90d6641b2cd18c60dc9b5829a9870d86.tar.zst dexon-1b74b98f90d6641b2cd18c60dc9b5829a9870d86.zip |
Check if go install succeed
-rw-r--r-- | install.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/install.sh b/install.sh index fc4724217..9719a1afc 100644 --- a/install.sh +++ b/install.sh @@ -49,5 +49,9 @@ else fi go install +if [ $? == 0 ]; then + echo "go install failed" + exit +fi echo "done. Please run $exe :-)" |