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

jvergara
17.15.2007 ef58da0eea9376733468916bc54c09295025ef17
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
opends/src/quicksetup/org/opends/quicksetup/Launcher.java 6 ●●●●● patch | view | raw | blame | history
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);
    }
  }