]> git.alsa-project.org Git - alsa-utils.git/commitdiff
alsa-info.sh: Fix alsa-usbstream.tmp test
authorJaroslav Kysela <perex@perex.cz>
Fri, 3 Dec 2021 13:52:52 +0000 (14:52 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 3 Dec 2021 13:52:52 +0000 (14:52 +0100)
Fixes: https://github.com/alsa-project/alsa-utils/issues/115
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsa-info/alsa-info.sh

index 01a910a43027dbdcf31e9090887017eb0966a1f7..251472a9f19491beca981e88c6683f51e60edacc 100755 (executable)
@@ -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