* MichaIng <mi...@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<
   ^^-^^

Reply via email to