diff --git a/pandora_server/util/pandora_server b/pandora_server/util/pandora_server index ef45ad1daf..88b310e7af 100755 --- a/pandora_server/util/pandora_server +++ b/pandora_server/util/pandora_server @@ -39,7 +39,7 @@ fi # This function replace pidof, not working in the same way in different linux distros function pidof_pandora () ( - PANDORA_PID=`ps -Af | grep "$PANDORA_DAEMON $PANDORA_HOME" | grep -v grep | tail -1 | awk '{ print $2 }'` + PANDORA_PID=`ps -Af | grep "$PANDORA_DAEMON" | grep -v grep | tail -1 | awk '{ print $2 }'` echo $PANDORA_PID )