[Pkg-alsa-devel] Bug#981044: alsactl prints "No soundcards found" error despite -g/--ignore flag
Elimar Riesebieter
riesebie at lxtec.de
Wed Jan 27 13:24:15 GMT 2021
* MichaIng <micha at dietpi.com> [2021-01-25 18:50 +0100]:
> Package: alsa-utils
> Version: 1.2.4-1
> And: 1.1.8-2
>
> Hey guys,
>
> I recognised that alsactl is ignoring the "--ignore" flag:
> -------
> # alsactl --help | grep ignore
> -g,--ignore ignore 'No soundcards found' error
> # alsactl init
> alsactl: init:1759: No soundcards found...
> # alsactl -g init
> alsactl: init:1759: No soundcards found...
> # alsactl --ignore init
> alsactl: init:1759: No soundcards found...
> # echo $?
> 19
> -------
According to the manpage:
-g, --ignore
Used with store and restore commands. Do not show
'No soundcards found' and do not set an error exit
code when soundcards are not installed.
This option is used only for the *store* and *restore* commands and
not for *init*.
Bug closed hereby.
Elimar
--
.~.
/V\ L I N U X
/( )\ >Phear the Penguin<
^^-^^
More information about the Pkg-alsa-devel
mailing list