OPENDJ-2317 dsconfig batch: executed command should be displayed on stdout and not on stderr
DSConfig.java:
Print to stdout instead of stderr
| | |
| | | command = command.replace("\\ ", "##"); |
| | | |
| | | String displayCommand = command.replace("\\ ", " "); |
| | | errPrintln(LocalizableMessage.raw(displayCommand)); |
| | | println(LocalizableMessage.raw(displayCommand)); |
| | | |
| | | // Append initial arguments to the file line |
| | | final String[] allArgsArray = buildCommandArgs(initialArgs, command); |
| | |
| | | if (exitCode != ReturnCode.SUCCESS.get()) { |
| | | System.exit(filterExitCode(exitCode)); |
| | | } |
| | | errPrintln(); |
| | | println(); |
| | | // reset command |
| | | command = ""; |
| | | } |