if (g_options & OPT_READMODE) {
if (!readmode(&var, modefile, mode)) {
errorMsg("Unknown video mode `%s'\n", mode);
- exit(1);
+ return EXIT_FAILURE;
}
}
/* Don't close the file, as exiting will take care of that */
/* close(fh); */
- return (TRUE);
+ return EXIT_SUCCESS;
}