summaryrefslogtreecommitdiffstats
path: root/export-html.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'export-html.cpp')
-rw-r--r--export-html.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/export-html.cpp b/export-html.cpp
index 5c509d521..c117eda79 100644
--- a/export-html.cpp
+++ b/export-html.cpp
@@ -42,8 +42,10 @@ int main(int argc, char **argv)
}
int ret = parse_file(qPrintable(source));
- if (ret)
+ if (ret) {
fprintf(stderr, "parse_file returned %d\n", ret);
+ exit(1);
+ }
// this should have set up the informational preferences - let's grab
// the units from there