summaryrefslogtreecommitdiff
path: root/amixer
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-01-31 13:48:50 +0000
committerTakashi Iwai <tiwai@suse.de>2005-01-31 13:48:50 +0000
commitb729f4fc30fab7d3a04bcee5e67604eb44e8a43f (patch)
treed41d1c0de495f5bc58e4d77d734bf78b307b93a7 /amixer
parente188eaf0971f363d62a18ccef01ee055b8d2f4b0 (diff)
exits with status 0 after -h option
amixer exits with status 0 after -h option (ALSA BTS #858).
Diffstat (limited to 'amixer')
-rw-r--r--amixer/amixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amixer/amixer.c b/amixer/amixer.c
index d4a59e6..57912a3 100644
--- a/amixer/amixer.c
+++ b/amixer/amixer.c
@@ -1512,7 +1512,7 @@ int main(int argc, char *argv[])
}
if (morehelp) {
help();
- return 1;
+ return 0;
}
if (argc - optind <= 0) {
return selems(LEVEL_BASIC | level) ? 1 : 0;