From c6a9e53ca064074273f5c9ef73213fd3ec0c8e0e Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 3 Dec 2021 14:52:52 +0100 Subject: [PATCH] alsa-info.sh: Fix alsa-usbstream.tmp test Fixes: https://github.com/alsa-project/alsa-utils/issues/115 Signed-off-by: Jaroslav Kysela --- alsa-info/alsa-info.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alsa-info/alsa-info.sh b/alsa-info/alsa-info.sh index 01a910a..251472a 100755 --- a/alsa-info/alsa-info.sh +++ b/alsa-info/alsa-info.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT_VERSION=0.5.0 +SCRIPT_VERSION=0.5.1 CHANGELOG="https://www.alsa-project.org/alsa-info.sh.changelog" ################################################################################# @@ -698,7 +698,7 @@ if [ -s "$TEMPDIR/lsusb.tmp" ]; then echo "" >> $FILE fi -if [ -s "$TEMPDIR/lsusb.tmp" ]; then +if [ -s "$TEMPDIR/alsa-usbstream.tmp" ]; then echo "!!USB Stream information" >> $FILE echo "!!----------------------" >> $FILE echo "--startcollapse--" >> $FILE