alsa-info: Make sure all full script is run even with "output" option

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>
This commit is contained in:
David Henningsson 2014-08-22 10:31:40 +02:00 committed by Takashi Iwai
parent 5e5fe9e573
commit 4f569affc4

View file

@ -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"