Debian Bug report logs - #994717
mention return codes on man pages

version graph

Package: alsa-utils; Maintainer for alsa-utils is Debian ALSA Maintainers <[email protected]>; Source for alsa-utils is src:alsa-utils (PTS, buildd, popcon).

Reported by: 積丹尼 Dan Jacobson <[email protected]>

Date: Sun, 19 Sep 2021 20:21:02 UTC

Severity: wishlist

Found in version alsa-utils/1.2.5.1-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian ALSA Maintainers <[email protected]>:
Bug#994717; Package alsa-utils. (Sun, 19 Sep 2021 20:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to 積丹尼 Dan Jacobson <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian ALSA Maintainers <[email protected]>. (Sun, 19 Sep 2021 20:21:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: 積丹尼 Dan Jacobson <[email protected]>
To: [email protected]
Subject: mention return codes on man pages
Date: Mon, 20 Sep 2021 03:13:03 +0800
Package: alsa-utils
Version: 1.2.5.1-1
Severity: wishlist
File: /usr/share/man/man1/alsactl.1.gz

Mention something like
   An exit status of zero indicates success, and a nonzero value
   indicates failure.
Else one cannot tell if e.g.,

# alsactl --debug restore; echo $?
alsa-lib parser.c:2372:(load_toplevel_config) Unable to find the top-level configuration file '/usr/share/alsa/ucm2/ucm.conf'.
alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
alsactl: set_controls:1493: device='hw:0', doit=0
alsactl: set_controls:1505: card-info-id: 'PCH'
alsactl: set_controls:1531: maxnumid=29
alsactl: set_controls:1549: result code: 0
alsactl: set_controls:1493: device='hw:0', doit=1
alsactl: set_controls:1505: card-info-id: 'PCH'
alsactl: set_controls:1531: maxnumid=29
alsactl: set_controls:1549: result code: 0
0

worked or not.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:07:52 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.