From aad347a5535ff2a9ff69d171f0162f5cff711696 Mon Sep 17 00:00:00 2001 From: slerena Date: Fri, 25 Sep 2009 00:27:09 +0000 Subject: [PATCH] 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 --- pandora_server/util/pandora_server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )