diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -264,7 +264,15 @@ main(int argc, char *argv[]) opkg_opk_opk_data_dir(opk, optarg); break; case 's': - opkg_opk_opk_specials_read(opk, optarg); + if (opkg_opk_opk_specials_read(opk, optarg) != + OPKG_OPK_OK) { + fprintf(stderr, _("%s: Failed to read " + "specials file" + "\n"), + program_name); + opkg_opk_opk_free(opk); + return EXIT_FAILURE; + } break; case 'f': if (opt_l > 0) { |