aboutsummaryrefslogtreecommitdiff
path: root/src/delivery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/delivery.c')
-rw-r--r--src/delivery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delivery.c b/src/delivery.c
index 1ff1c14..ce6e804 100644
--- a/src/delivery.c
+++ b/src/delivery.c
@@ -674,7 +674,7 @@ int *bootstrap_build_info(struct Delivery *ctx) {
return 0;
}
-int delivery_init(struct Delivery *ctx) {
+int delivery_init(struct Delivery *ctx, int render_mode) {
populate_info(ctx);
populate_delivery_cfg(ctx, INI_READ_RENDER);
@@ -718,7 +718,7 @@ int delivery_init(struct Delivery *ctx) {
// Prevent git from paginating output
setenv("GIT_PAGER", "", 1);
- populate_delivery_ini(ctx, 0);
+ populate_delivery_ini(ctx, render_mode);
if (ctx->deploy.docker.tags) {
for (size_t i = 0; i < strlist_count(ctx->deploy.docker.tags); i++) {