diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-02-19 18:46:03 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-02-19 18:46:03 -0800 |
commit | d73e3f8a10192a928efc80fcf91e58218aeac4d6 (patch) | |
tree | 210c60aef7e4e4fbabda3b7d0cceb6a34dbf613e /src/set.c | |
parent | acb8eea0301ad69c1653b389be4a86ada8721290 (diff) | |
parent | 4e0206da1f3080f0c0729e6b6f252a147cf2a9cb (diff) | |
download | vyatta-cfg-d73e3f8a10192a928efc80fcf91e58218aeac4d6.tar.gz vyatta-cfg-d73e3f8a10192a928efc80fcf91e58218aeac4d6.zip |
Merge branch 'glendale' of http://git.vyatta.com/vyatta-cfg into glendale
Diffstat (limited to 'src/set.c')
-rw-r--r-- | src/set.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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); |