summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-04-02 16:46:30 +0200
committerTheTroll <trolldev@gmail.com>2010-04-02 16:46:30 +0200
commit1e82d4de759b0b14462c718772ddd79b79f576f4 (patch)
tree14e7469643ecc60c4e970bf9cc9dbf3c9f26ac2f /bin
parent0a676dbb8130770af75fe9e3c7d2f892c52b20a6 (diff)
downloadistreamdev-1e82d4de759b0b14462c718772ddd79b79f576f4.tar.gz
istreamdev-1e82d4de759b0b14462c718772ddd79b79f576f4.tar.bz2
fixed again
Diffstat (limited to 'bin')
-rwxr-xr-xbin/istream.sh2
1 files changed, 1 insertions, 1 deletions
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