diff --git a/cli/main.c b/cli/main.c index 837fa8b..93f2e1c 100644 --- a/cli/main.c +++ b/cli/main.c @@ -1286,7 +1286,8 @@ main(int argc, char *argv[]) if (pkgq.head == NULL) { fprintf(stderr, "Please specify at least one package name on the command line.\n"); - return EXIT_FAILURE; + ret = EXIT_FAILURE; + goto out; } ret = EXIT_SUCCESS;