Fixed small bug..

This commit is contained in:
Jaroslav Kysela 1999-01-18 22:41:28 +00:00
parent cf069e337e
commit 288c349c33

View file

@ -198,7 +198,7 @@ int main(int argc, char *argv[])
return 0; return 0;
} }
if (!strcmp(argv[optind], "store")) { if (!strcmp(argv[optind], "store")) {
return store_setup(argc - optind > 1 ? argv[optind + 1] : NULL) return store_setup(argc - optind > 1 ? argv[optind + 1] : NULL) ?
1 : 0; 1 : 0;
} else if (!strcmp(argv[optind], "restore")) { } else if (!strcmp(argv[optind], "restore")) {
return restore_setup(argc - optind > 1 ? argv[optind + 1] : NULL) ? return restore_setup(argc - optind > 1 ? argv[optind + 1] : NULL) ?