From 2070c00d6369ab4d8ab22fa501665ffa8c95a4b1 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 6 Aug 2024 10:41:23 -0700 Subject: [PATCH] cli: stop processing requests after the --env handler runs --- cli/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/main.c b/cli/main.c index 79247c5..79beea7 100644 --- a/cli/main.c +++ b/cli/main.c @@ -1598,7 +1598,7 @@ cleanup3: if (want_env_prefix != NULL) { apply_env(&pkg_client, &world, want_env_prefix, 2); - want_flags = 0; + goto out; } if ((want_flags & PKG_PROVIDES) == PKG_PROVIDES)