From 1ffe27c5f74e02c448516e5549aacf4dbd76dc24 Mon Sep 17 00:00:00 2001 From: sunshineplan <sunshineplan@users.noreply.github.com> Date: Wed, 13 Sep 2017 20:54:47 +0800 Subject: [PATCH] Update install-release.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用remove参数后,如果没有找到V2ray程序,则退出。 --- release/install-release.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/release/install-release.sh b/release/install-release.sh index 12341b1c7c..f5df6c9736 100755 --- a/release/install-release.sh +++ b/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 }