Bug#747328: pacmd: returns success exit status 0 even when it fails

Felipe Sateler fsateler at debian.org
Wed May 7 15:22:29 UTC 2014


Version: 5.0-2
Control: tags -1 confirmed
Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=51939

On Wed, May 7, 2014 at 10:46 AM, J G Miller <miller at yoyo.org> wrote:
> Package: pulseaudio-utils
> Version: 2.0-6.1
> Severity: normal
> Tags: upstream
>
>
> The pulseaudio utility program pacmd should return meaningful exit codes --
> 0 for success or 1[...N] when it fails to perform a specified action.
>
> In its current state in Debian 7.5 (pacmd 2.0, compiled with libpulse 2.0.0,
> linked with libpulse 2.0.0), it return 0 success, even when it fails.
<snip>
>
> Surely a fundamental requirement of a properly written program is that
> it exits with an appropriate return value that can be dependend upon to
> indicate whether or not an action succeeded?

This bug has been reported a while ago upstream at the following bug report:

https://bugs.freedesktop.org/show_bug.cgi?id=51939


-- 

Saludos,
Felipe Sateler



More information about the pkg-pulseaudio-devel mailing list