diff --git a/planemo/commands/cmd_conda_install.py b/planemo/commands/cmd_conda_install.py index 835f7c072..71801be95 100644 --- a/planemo/commands/cmd_conda_install.py +++ b/planemo/commands/cmd_conda_install.py @@ -28,4 +28,5 @@ def cli(ctx, paths, **kwds): conda_target, conda_context=conda_context, skip_environment=kwds.get("global", False) ) return_codes.append(return_code) - return coalesce_return_codes(return_codes, assert_at_least_one=True) + exit_code = coalesce_return_codes(return_codes, assert_at_least_one=True) + ctx.exit(exit_code)