From a3d4e24989933f723ecd43f1d2f8cdd56abf53b7 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sat, 10 May 2014 22:20:09 +0800 Subject: [PATCH] Add uninstall information --- shadowsocks.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shadowsocks.sh b/shadowsocks.sh index 9479cfd..e4e4f42 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -174,6 +174,11 @@ function uninstall_shadowsocks(){ # delete config file rm -f /etc/config.json pip uninstall -y shadowsocks + if [ $? -eq 0 ]; then + echo "Shadowsocks uninstall success!" + else + echo "Shadowsocks uninstall failed!" + fi } # Initialization step