Fix uninstall function
This commit is contained in:
parent
92f24adfe6
commit
cc01989618
|
|
@ -190,7 +190,9 @@ function uninstall_shadowsocks_nodejs(){
|
|||
for pid in $NODE_PID
|
||||
do
|
||||
kill -9 $pid
|
||||
echo "Shadowsocks-nodejs process[$pid] has been killed"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Shadowsocks-nodejs process[$pid] has been killed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
# delete config file
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user