Skip to contentSkip to conversation

Amixer: suppressing errors when called from stdin

DISCUSSION Henrik Fasth 1 participant 1 message Sep 12, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

We have some problems with amixer always returning 0 when called from stdin (exec_stdin). The global variable ignore_error is always set to 1 in function exec_stdin which leads to sset and cset always returning 0 even if an error occured.

Are there any specific reasons for suppressing error messages and error return values like this?

Br
Henrik