ref: b0f8e04fb7d307700424935181bc7d6530b53d64
parent: 493b94919f06da05ce20b8ecae74e867a61f646e
author: ISSOtm <[email protected]>
date: Sat Mar 12 17:37:14 EST 2022
Do not do anything if option parsing goes wrong
--- a/src/gfx/main.cpp
+++ b/src/gfx/main.cpp
@@ -511,6 +511,11 @@
fputs("Ready.\n", stderr);
}
+ // Do not do anything if option parsing went wrong
+ if (nbErrors) {
+ return 0;
+ }
+
process();
return 0;