aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index ab9fed3..8cd678f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -510,7 +510,9 @@ int main(int argc, char *argv[]) {
if (globals.enable_docker) {
msg(OMC_MSG_L1, "Building Docker image\n");
- delivery_docker(&ctx);
+ if (delivery_docker(&ctx)) {
+ COE_CHECK_ABORT(1, "Failed to build docker image");
+ }
} else {
msg(OMC_MSG_L1 | OMC_MSG_WARN, "Docker image building is disabled\n");
}