alsa-info.sh: Fix alsa-usbstream.tmp test

Fixes: https://github.com/alsa-project/alsa-utils/issues/115
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2021-12-03 14:52:52 +01:00
parent 257f3063fa
commit c6a9e53ca0

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
SCRIPT_VERSION=0.5.0 SCRIPT_VERSION=0.5.1
CHANGELOG="https://www.alsa-project.org/alsa-info.sh.changelog" CHANGELOG="https://www.alsa-project.org/alsa-info.sh.changelog"
################################################################################# #################################################################################
@ -698,7 +698,7 @@ if [ -s "$TEMPDIR/lsusb.tmp" ]; then
echo "" >> $FILE echo "" >> $FILE
fi fi
if [ -s "$TEMPDIR/lsusb.tmp" ]; then if [ -s "$TEMPDIR/alsa-usbstream.tmp" ]; then
echo "!!USB Stream information" >> $FILE echo "!!USB Stream information" >> $FILE
echo "!!----------------------" >> $FILE echo "!!----------------------" >> $FILE
echo "--startcollapse--" >> $FILE echo "--startcollapse--" >> $FILE