X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=test.c;h=ed66f9d6c9337fcfa3dcb2e79eef34d545a60cd0;hb=a8b31be328cf4e830649a61aba10fe95c25e40d3;hp=65002c9e362d9ef73b9172e71921923190420d8d;hpb=ec50d8508e878f56eaf675d67f8755943332845f;p=xonotic%2Fgmqcc.git diff --git a/test.c b/test.c index 65002c9..ed66f9d 100644 --- a/test.c +++ b/test.c @@ -514,8 +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); - goto failure; + /* default to $null */ + template->executeflags = util_strdup("$null"); } if (!template->comparematch) { con_err("template compile error: %s missing `M:` tag (use `$null` for exclude)\n", file);