will-sh commented on code in PR #10134:
URL: https://github.com/apache/ozone/pull/10134#discussion_r3194255232
##########
hadoop-hdds/cli-common/src/main/java/org/apache/hadoop/hdds/cli/GenericCli.java:
##########
@@ -78,7 +78,12 @@ public void run(String[] argv) {
int exitCode = execute(argv);
if (exitCode != ExitCode.OK) {
- ExitUtils.terminate(exitCode, null, null);
+ if (cmd.getOut() != null) {
+ cmd.getOut().println("Command executed with exit code: " + exitCode);
+ }
+ if (System.getProperty("ozone.interactive.shell") == null) {
Review Comment:
yeah it is not referenced by others, committed again, removed the property
completely.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]