summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-04-02 16:43:28 +0200
committerTheTroll <trolldev@gmail.com>2010-04-02 16:43:28 +0200
commit0a676dbb8130770af75fe9e3c7d2f892c52b20a6 (patch)
treee17322d9a93046f15ffe109489a8eff496b359a3
parenta0198dc43526022bd5ab3e768ee4ad518982c5df (diff)
downloadistreamdev-0a676dbb8130770af75fe9e3c7d2f892c52b20a6.tar.gz
istreamdev-0a676dbb8130770af75fe9e3c7d2f892c52b20a6.tar.bz2
Fix
-rwxr-xr-xbin/istream.sh2
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