diff options
| author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2023-10-31 19:42:34 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-31 19:42:34 -0400 | 
| commit | 9c8094a50e2e22056653aadb3c9a72b608e5a4d5 (patch) | |
| tree | 63ed06e7c7644eecb37ba0afeddc2103b0cab1e3 /src | |
| parent | 3be7caad473a44076e094f4129e4674c5efb3a35 (diff) | |
| download | stasis-9c8094a50e2e22056653aadb3c9a72b608e5a4d5.tar.gz | |
Remove debug shell call
Diffstat (limited to 'src')
| -rw-r--r-- | src/deliverable.c | 10 | 
1 files changed, 2 insertions, 8 deletions
| 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) { | 
