Remove requirement for E

This commit is contained in:
Dale Weiler 2012-11-22 18:12:47 +00:00
parent 2e3d572b53
commit 79bac33a40

3
test.c
View file

@ -514,7 +514,8 @@ task_template_t *task_template_compile(const char *file, const char *dir) {
goto success;
} else if (!strcmp(template->proceduretype, "-execute")) {
if (!template->executeflags) {
con_err("template compile error: %s missing `E:` tag (use `$null` for exclude)\n", file);
/* default to $null */
template->executeflags = util_strdup("$null");
goto failure;
}
if (!template->comparematch) {