summaryrefslogtreecommitdiff
path: root/xmlwf/xmlwf.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmlwf/xmlwf.c')
-rwxr-xr-xxmlwf/xmlwf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmlwf/xmlwf.c b/xmlwf/xmlwf.c
index 41a433d..4fc77da 100755
--- a/xmlwf/xmlwf.c
+++ b/xmlwf/xmlwf.c
@@ -849,8 +849,10 @@ tmain(int argc, XML_Char **argv)
if (outputType == 'm')
metaEndDocument(parser);
fclose(fp);
- if (!result)
+ if (!result) {
tremove(outName);
+ exit(2);
+ }
free(outName);
}
XML_ParserFree(parser);