diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-11-22 16:23:45 -0500 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-12-03 19:07:22 -0500 | 
| commit | ff4e8b219792684d2f09d865fab7aad1eab3a957 (patch) | |
| tree | 6ee2cd1346b1bc49fb1f2e99df72826356bb3644 /src | |
| parent | 9173fe4a472500b3f87780d116ff7a54d4729c78 (diff) | |
| download | stasis-ff4e8b219792684d2f09d865fab7aad1eab3a957.tar.gz | |
Unindent script
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/core/delivery_test.c | 3 | 
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); | 
