diff options
Diffstat (limited to 'utils/ipu3/ipu3-process.sh')
-rwxr-xr-x | utils/ipu3/ipu3-process.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/ipu3/ipu3-process.sh b/utils/ipu3/ipu3-process.sh index 6412aea4..78a7937f 100755 --- a/utils/ipu3/ipu3-process.sh +++ b/utils/ipu3/ipu3-process.sh @@ -23,8 +23,8 @@ find_media_device() { done if [[ -z $mdev ]] ; then - echo "IPU3 media device not found." >&2 - exit 1 + echo "IPU3 media device not found." >&2 + exit 1 fi echo $mdev @@ -173,7 +173,7 @@ fi out_size=${out_size:-$in_size} vf_size=${vf_size:-$in_size} -mdev=$(find_media_device) +mdev=$(find_media_device) || exit mediactl="media-ctl -d $mdev" echo "Using device $mdev" |