From: Jaroslav Kysela Date: Fri, 3 Dec 2021 13:52:52 +0000 (+0100) Subject: alsa-info.sh: Fix alsa-usbstream.tmp test X-Git-Tag: v1.2.6~7 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=c6a9e53ca064074273f5c9ef73213fd3ec0c8e0e;p=alsa-utils.git alsa-info.sh: Fix alsa-usbstream.tmp test Fixes: https://github.com/alsa-project/alsa-utils/issues/115 Signed-off-by: Jaroslav Kysela --- 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