aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-11-22 16:23:45 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-12-03 19:07:22 -0500
commitff4e8b219792684d2f09d865fab7aad1eab3a957 (patch)
tree6ee2cd1346b1bc49fb1f2e99df72826356bb3644 /src/lib
parent9173fe4a472500b3f87780d116ff7a54d4729c78 (diff)
downloadstasis-ff4e8b219792684d2f09d865fab7aad1eab3a957.tar.gz
Unindent script
Diffstat (limited to 'src/lib')
-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);