bomtool: return EXIT_FAILURE if solver fails to solve

pull/244/head
Ariadne Conill 2022-08-16 18:50:35 +00:00
parent 5500a15133
commit 2c89541101
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ main(int argc, char *argv[])
{ {
fprintf(stderr, "Please specify at least one package name on the command line.\n"); fprintf(stderr, "Please specify at least one package name on the command line.\n");
ret = EXIT_FAILURE; ret = EXIT_FAILURE;
goto out;
} }
ret = EXIT_SUCCESS; ret = EXIT_SUCCESS;