mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 23:26:30 +01:00
exits with status 0 after -h option
amixer exits with status 0 after -h option (ALSA BTS #858).
This commit is contained in:
parent
e188eaf097
commit
b729f4fc30
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue