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
|
for pid in $NODE_PID
|
||||||
do
|
do
|
||||||
kill -9 $pid
|
kill -9 $pid
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
echo "Shadowsocks-nodejs process[$pid] has been killed"
|
echo "Shadowsocks-nodejs process[$pid] has been killed"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
# delete config file
|
# delete config file
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user