From 6ec64b1fdbe2c95e849f3089d4a71b00b5abaf88 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sun, 4 May 2014 14:29:33 +0800 Subject: [PATCH] Fix bug --- shadowsocks.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadowsocks.sh b/shadowsocks.sh index b5c7fa8..5fa1295 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -133,7 +133,7 @@ function install(){ else echo "" echo "Shadowsocks install failed! Please visit http://teddysun.com/342.html and contact." - echo "" + exit 1 fi clear echo "" @@ -151,7 +151,7 @@ function install(){ else echo "" echo "pip install failed! Please visit http://teddysun.com/342.html and contact." - echo "" + exit 1 fi }