mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
17.15.2007 4e06a9f90048f28caeaa8666d7e28bd1ca242d99
Fix for issue 2461.

The issue can only be reproductible when the GUI cannot be launched (for DISPLAY problems for instance). The fix consists of having the same behavior when we launch the CLI directly and when we launch the CLI after the GUI launched failed.
1 files modified
6 ■■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Launcher.java 6 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Launcher.java
@@ -390,11 +390,9 @@
        }
        CliApplication cliApp = createCliApplication();
        exitCode = launchCli(cliApp);
        if (exitCode != 0) {
          preExit(cliApp);
          System.exit(exitCode);
        }
        preExit(cliApp);
      }
      System.exit(exitCode);
    }
  }