Jrohy %!s(int64=4) %!d(string=hai) anos
pai
achega
bea7766eeb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      install.sh

+ 1 - 1
install.sh

@@ -144,7 +144,7 @@ installGo(){
         break
     done
     rm -rf $TEMP_PATH $FILE_NAME
-    [[ $INSTALL_SUCCESS == 0 ]] && { colorEcho $RED "\n安装失败!"; exit 0; }
+    [[ $INSTALL_SUCCESS == 0 ]] && { colorEcho $RED "\n安装失败!"; exit -1; }
 }
 
 main(){