summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-04-02 17:22:38 +0200
committerTheTroll <trolldev@gmail.com>2010-04-02 17:22:38 +0200
commit501e16208ad089380c9a3b85f2beea06386d0ed7 (patch)
tree78e8bff32fcee7afa6ff871b9e33e7269871521a
parent1e82d4de759b0b14462c718772ddd79b79f576f4 (diff)
downloadistreamdev-501e16208ad089380c9a3b85f2beea06386d0ed7.tar.gz
istreamdev-501e16208ad089380c9a3b85f2beea06386d0ed7.tar.bz2
fixed recordings again
-rwxr-xr-xbin/istream.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/istream.sh b/bin/istream.sh
index ade43a3..a05a63e 100755
--- a/bin/istream.sh
+++ b/bin/istream.sh
@@ -61,7 +61,7 @@ fi
FFPID=$!
if [ ! -z "$FFPID" ]
then
- SPID=`\ps ax --format pid,ppid | grep "$FFPID$" | awk {'print $1'}`;
+ SPID=`\ps ax --format pid,cmd,ppid | grep "$FFPID$" | grep -v cat | awk {'print $1'}`;
if [ ! -z "$SPID" ]
then
2>/dev/null echo $SPID > ./ffmpeg.pid