From 1e82d4de759b0b14462c718772ddd79b79f576f4 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Fri, 2 Apr 2010 16:46:30 +0200 Subject: fixed again --- bin/istream.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/istream.sh b/bin/istream.sh index 3641237..ade43a3 100755 --- a/bin/istream.sh +++ b/bin/istream.sh @@ -75,7 +75,7 @@ fi SEGPID=$! if [ ! -z "$SEGPID" ] then - SPID=`\ps ax --format pid,ppid,cmd | grep " $SEGPID " | grep segmenter | awk {'print $1'}`; + SPID=`\ps ax --format pid,cmd,ppid | grep "$SEGPID$" | grep segmenter | awk {'print $1'}`; if [ ! -z "$SPID" ] then 2>/dev/null echo $SPID > ./segmenter.pid -- cgit v1.2.3