From 501e16208ad089380c9a3b85f2beea06386d0ed7 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Fri, 2 Apr 2010 17:22:38 +0200 Subject: fixed recordings 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 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 -- cgit v1.2.3