diff mbox

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

Message ID 1408696301-5622-1-git-send-email-david.henningsson@canonical.com (mailing list archive)
State Accepted
Delegated to: Takashi Iwai
Headers show

Commit Message

David Henningsson Aug. 22, 2014, 8:31 a.m. UTC
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>
---
 alsa-info/alsa-info.sh | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai Aug. 22, 2014, 9:14 a.m. UTC | #1
At Fri, 22 Aug 2014 10:31:40 +0200,
David Henningsson wrote:
> 
> 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>

Applied both patches.  Thanks.


Takashi

> ---
>  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
>
diff mbox

Patch

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"