]> git.alsa-project.org Git - alsa-utils.git/commitdiff
alsa-info: Make sure all full script is run even with "output" option
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 22 Aug 2014 08:31:40 +0000 (10:31 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Aug 2014 09:08:28 +0000 (11:08 +0200)
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@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsa-info/alsa-info.sh

index 859d7bca6b1ce7366c393ef8a2abfb985ae3b23b..47157f06b159a9042e6c90268897877362e5700f 100755 (executable)
@@ -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"