修复PID判断不精准导致获取运行状态出错的问题
This commit is contained in:
@@ -63,7 +63,7 @@ case "$1" in
|
||||
tunfix) tunfix ;;
|
||||
init) init ;;
|
||||
*)
|
||||
if [ -z $(pidof clash) ];then
|
||||
if [ -z $(pidof $clashdir/clash) ];then
|
||||
init
|
||||
else
|
||||
sleep 10
|
||||
|
||||
Reference in New Issue
Block a user