Do not do anything if option parsing goes wrong

This commit is contained in:
ISSOtm authored and Eldred Habert committed 2022-07-02 17:04:17 +02:00
1 parent 493b94919f
commit b0f8e04fb7
1 file changed
+5
+5
View File
@@ -511,6 +511,11 @@ int main(int argc, char *argv[]) {
fputs("Ready.\n", stderr);
}
// Do not do anything if option parsing went wrong
if (nbErrors) {
return 0;
}
process();
return 0;