2009-09-25 sancho lerena
* util/pandora_server: Fix SUSE problem (I hope) git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a1be60d837
commit
aad347a553
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue