Pārlūkot izejas kodu

Update install-release.sh

使用remove参数后,如果没有找到V2ray程序,则退出。
sunshineplan 8 gadi atpakaļ
vecāks
revīzija
1ffe27c5f7
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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
 }