Merge pull request #27 from corerman/patch-1

Update shadowsocksR
This commit is contained in:
Teddysun 2017-07-22 15:25:13 +09:00 committed by GitHub
commit 7a8a8ed44d

View File

@ -25,7 +25,7 @@ RETVAL=0
check_running(){ check_running(){
PID=`ps -ef | grep -v grep | grep -i "${BIN}" | awk '{print $2}'` PID=`ps -ef | grep -v grep | grep -i "${BIN}" | awk '{print $2}'`
if [ ! -z $PID ]; then if [ ! -z "$PID" ]; then
return 0 return 0
else else
return 1 return 1