Return codes changed again..

This commit is contained in:
Jaroslav Kysela 1999-01-18 21:20:59 +00:00
parent 0e8adecc8f
commit 084dc84d14

View file

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