From ff4e8b219792684d2f09d865fab7aad1eab3a957 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 22 Nov 2024 16:23:45 -0500 Subject: Unindent script --- src/lib/core/delivery_test.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); -- cgit