update comments
This commit is contained in:
parent
94917d491d
commit
33b0c618d4
|
|
@ -27,7 +27,7 @@ i=0
|
||||||
for init in ${shadowsocks_init[@]}; do
|
for init in ${shadowsocks_init[@]}; do
|
||||||
pid=""
|
pid=""
|
||||||
if [ -f ${init} ]; then
|
if [ -f ${init} ]; then
|
||||||
${init} status &>/dev/null
|
${init} status > /dev/null 2>&1
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
for bin in ${shadowsocks[@]}; do
|
for bin in ${shadowsocks[@]}; do
|
||||||
pid=`ps -ef | grep -v grep | grep -i "${bin}" | awk '{print $2}'`
|
pid=`ps -ef | grep -v grep | grep -i "${bin}" | awk '{print $2}'`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user