summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/set.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/set.c b/src/set.c
index 44f1263..d961fb8 100644
--- a/src/set.c
+++ b/src/set.c
@@ -336,10 +336,8 @@ handle_default(vtw_path *mpath, vtw_path *tpath, char *exclude)
}
memset(&def, 0, sizeof(def));
if ((status = parse_def(&def, tpath->path, FALSE))) {
- fprintf(stderr, "parse error in [%s]\n", tpath->path);
- pop_path(tpath); /* definition */
- pop_path(tpath); /* child */
- continue;
+ /* template parse error. abort. */
+ bye("Parse error in [%s]\n", tpath->path);
}
if (def.def_default) {
push_path(mpath, uename);