Skip to content

Commit

Permalink
Fix :get process pid error
Browse files Browse the repository at this point in the history
  • Loading branch information
loyess committed Sep 9, 2023
1 parent 8985858 commit 7b85a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ sip003_way_start(){
local processPid

if [ "$(command -v "${binaryName}")" ]; then
processPid=`ps -ef | grep -Ev 'grep|-plugin-opts' | grep v2ray-plugin | awk '{print $2}'`
processPid=`ps -ef | grep -Ev 'grep|-plugin-opts' | grep "${binaryName}" | awk '{print $2}'`
sip003_plugin_start "${projectName}" "${processPid}"
fi
}
Expand Down

0 comments on commit 7b85a4f

Please sign in to comment.