summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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