Parcourir la source

Update install-release.sh

使用remove参数后,如果没有找到V2ray程序,则退出。
sunshineplan il y a 8 ans
Parent
commit
1ffe27c5f7
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      release/install-release.sh

+ 3 - 0
release/install-release.sh

@@ -284,6 +284,9 @@ remove(){
             colorEcho ${GREEN} "If necessary, please remove configuration file and log file manually."
             exit
         fi       
+    else
+        colorEcho ${GREEN} "V2Ray not found."
+        exit
     fi
 }