[alsa-devel] [PATCH 1/2] alsa-info: Make sure all full script is run even with "output" option

David Henningsson david.henningsson at canonical.com
Fri Aug 22 10:31:40 CEST 2014


For some reason, when the --output option is used, less information
is included compared to when no options are used. This is unexpected.

Fix this by running "withall" also when the output option is used.

Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
 alsa-info/alsa-info.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/alsa-info/alsa-info.sh b/alsa-info/alsa-info.sh
index 859d7bc..47157f0 100755
--- a/alsa-info/alsa-info.sh
+++ b/alsa-info/alsa-info.sh
@@ -661,6 +661,7 @@ if [ -n "$1" ]; then
 			shift
 			NFILE="$1"
 			KEEP_OUTPUT="yes"
+			withall
 			;;
 		--debug)
 			echo "Debugging enabled. $FILE and $TEMPDIR will not be deleted"
-- 
1.9.1



More information about the Alsa-devel mailing list