From 9c8094a50e2e22056653aadb3c9a72b608e5a4d5 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 31 Oct 2023 19:42:34 -0400 Subject: Remove debug shell call --- src/deliverable.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/deliverable.c b/src/deliverable.c index ce11680..8a267c1 100644 --- a/src/deliverable.c +++ b/src/deliverable.c @@ -332,14 +332,8 @@ int delivery_build_recipes(struct Delivery *ctx) { char command[PATH_MAX]; sprintf(command, "build --python=%s .", ctx->meta.python); status = conda_exec(command); - if (status) { - fprintf(stderr, "failed to build deployment artifact: %s\n", ctx->tests[i].build_recipe); - msg(OMC_MSG_WARN | OMC_MSG_L1, "ENTERING DEBUG SHELL\n"); - system("bash --noprofile --norc"); - exit(1); - if (!ctx->meta.continue_on_error) { - return -1; - } + if (status && !ctx->meta.continue_on_error) { + return -1; } if (RECIPE_TYPE_GENERIC != recipe_type) { -- cgit