Fix for issue #2517938: xmlwf should return a non-zero code for parsing errors.
This commit is contained in:
parent
6daf07c969
commit
1c0c10b52a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user