aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/core/delivery_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/core/delivery_test.c b/src/lib/core/delivery_test.c
index 0bcf04d..8dbcd78 100644
--- a/src/lib/core/delivery_test.c
+++ b/src/lib/core/delivery_test.c
@@ -118,6 +118,9 @@ void delivery_tests_run(struct Delivery *ctx) {
SYSERROR("An error occurred while rendering the following:\n%s", cmd);
exit(1);
}
+ // Move indents
+ // HEREDOCs will not work otherwise
+ unindent(cmd);
if (test->disable) {
msg(STASIS_MSG_L2, "Script execution disabled by configuration\n", test->name);