Skip to content

Commit

Permalink
Update st2ctl
Browse files Browse the repository at this point in the history
  • Loading branch information
jfryman committed Aug 24, 2015
1 parent b7c7e5a commit c98553e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/st2ctl
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ function getpids(){
if [[ "${COM}" == "st2web" && -z "${ST2_DISABLE_HTTPSERVER}" ]]
then
PID=`ps ax | grep -v grep | egrep "SimpleHTTPServer $WEBUI_PORT\$" | awk '{print $1}'`
elif [[ "${COM}" ]] == "mistral" ]]
elif [[ "${COM}" == "mistral" ]]
then
PID=`ps ax | grep -v grep | grep -v postgres | grep "${COM}" | awk '{print $1}'`
else
Expand Down

0 comments on commit c98553e

Please sign in to comment.