mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-22 11:21:39 +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 {
|
} else {
|
||||||
FILE *src;
|
FILE *src;
|
||||||
|
|
Loading…
Reference in a new issue