From 2c89541101aac95cff2b151660a25c102d2b294a Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 16 Aug 2022 18:50:35 +0000 Subject: [PATCH] bomtool: return EXIT_FAILURE if solver fails to solve --- cli/bomtool/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/bomtool/main.c b/cli/bomtool/main.c index 5398ed5..ba93555 100644 --- a/cli/bomtool/main.c +++ b/cli/bomtool/main.c @@ -338,6 +338,7 @@ main(int argc, char *argv[]) { fprintf(stderr, "Please specify at least one package name on the command line.\n"); ret = EXIT_FAILURE; + goto out; } ret = EXIT_SUCCESS;