mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 22:55:42 +01:00
alsactl: Fix return code
The main() should return positive error value. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f45aa72cd6
commit
69c6bead43
1 changed files with 1 additions and 1 deletions
|
@ -189,5 +189,5 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
snd_config_update_free_global();
|
||||
return res < 0 ? res : 0;
|
||||
return res < 0 ? -res : 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue