mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-20 18:32:01 +00:00
If parser_finish fails, the exit-value must also indicate an error
This commit is contained in:
parent
62f55d5155
commit
0fedee8312
1 changed files with 4 additions and 1 deletions
5
main.c
5
main.c
|
@ -460,7 +460,10 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
}
|
||||
|
||||
parser_finish(opts_output);
|
||||
if (!parser_finish(opts_output)) {
|
||||
retval = 1;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
} else {
|
||||
FILE *src;
|
||||
|
|
Loading…
Reference in a new issue