mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:05:41 +01:00
Return codes changed again..
This commit is contained in:
parent
0e8adecc8f
commit
084dc84d14
1 changed files with 3 additions and 3 deletions
|
@ -198,11 +198,11 @@ int main(int argc, char *argv[])
|
|||
return 0;
|
||||
}
|
||||
if (!strcmp(argv[optind], "store")) {
|
||||
return store_setup(argc - optind > 1 ? argv[optind + 1] : NULL) ?
|
||||
0 : 1;
|
||||
return store_setup(argc - optind > 1 ? argv[optind + 1] : NULL)
|
||||
1 : 0;
|
||||
} else if (!strcmp(argv[optind], "restore")) {
|
||||
return restore_setup(argc - optind > 1 ? argv[optind + 1] : NULL) ?
|
||||
0 : 1;
|
||||
1 : 0;
|
||||
} else {
|
||||
fprintf(stderr, "alsactl: Unknown command '%s'...\n", argv[optind]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue