Revert "修复PID判断不精准导致获取运行状态出错的问题"

This commit is contained in:
juewuy
2023-04-25 20:37:57 +08:00
committed by GitHub
parent 5b53cbc3a9
commit e2e17c5151
3 changed files with 12 additions and 12 deletions

View File

@@ -63,7 +63,7 @@ case "$1" in
tunfix) tunfix ;;
init) init ;;
*)
if [ -z $(pidof $clashdir/clash) ];then
if [ -z $(pidof clash) ];then
init
else
sleep 10