gyfora commented on code in PR #21515:
URL: https://github.com/apache/flink/pull/21515#discussion_r1049796201
##########
flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontend.java:
##########
@@ -1149,6 +1150,11 @@ public int parseAndRun(String[] args) {
/** Submits the job based on the arguments. */
public static void main(final String[] args) {
+ System.exit(mainInternal(args));
Review Comment:
We need to change this to
```
int retCode = 31;
try {
retCode = mainInternal();
} finallly{System.exit(retCode)}
to preserve the original behavior I think.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]