alsactl: Fix return code

The main() should return positive error value.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2010-02-14 19:07:25 +01:00
parent f45aa72cd6
commit 69c6bead43

View file

@ -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;
}