diff options
-rwxr-xr-x | bin/istream.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/istream.sh b/bin/istream.sh index bd08092..3641237 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,ppid,cmd | grep " $SEGPID " | grep segmenter | awk {'print $1'}`; if [ ! -z "$SPID" ] then 2>/dev/null echo $SPID > ./segmenter.pid |