mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 22:26:29 +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