amixer beeps on argv[] processing errors.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-utils (Debian) |
New
|
Unknown
|
|||
alsa-utils (Ubuntu) |
Fix Released
|
Low
|
Daniel T Chen |
Bug Description
$ pwd
alsa-utils-1.0.8
$ find -name '*.c' | xargs grep '\\0[0-9]'
./alsamixer/
./amixer/amixer.c: fprintf(stderr,
"\07Invalid card number.\n");
./amixer/amixer.c: fprintf(stderr, "\07Invalid switch or
option needs an argument.\n");
$
alsa-utils's amixer beeps on a couple of argv[] related error messages.
It should be silent, like /bin/false. shutdown(8) has good reason to
beep.
What makes this particularly annoying is this fresh install of 5.04's
/etc/init.d/alsa cause amixer with illegal arguments about a dozen times
on start and stop causing much loud beeping. I'll open another bug on
that as I continue to investigate but amixer shouldn't beep regardless.
Changed in alsa-utils: | |
status: | Unknown → Confirmed |
Changed in alsa-utils (Debian): | |
status: | Confirmed → New |
# Automatically generated email from bts, devscripts version 2.8.4
retitle 222434 amixer: Should reject invalid commands