From 6ed3634710c0b5079f17cf6b1fc8afd5345176df Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Mon, 13 Nov 2023 11:25:04 +0100 Subject: [PATCH] conda_search: also use exit code --- planemo/commands/cmd_conda_search.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/planemo/commands/cmd_conda_search.py b/planemo/commands/cmd_conda_search.py index 1faa974f7..fea2e4022 100644 --- a/planemo/commands/cmd_conda_search.py +++ b/planemo/commands/cmd_conda_search.py @@ -30,4 +30,5 @@ def cli(ctx, term, **kwds): if conda_context.conda_version >= VERSION_4_DOT_4: term = "*%s*" % term args = conda_context._override_channels_args + [term] - conda_context.exec_command("search", args) + exit_code = conda_context.exec_command("search", args) + ctx.exit(exit_code)