From dcb33ee3956cfa2f86c38c750880820fb8c04076 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Thu, 01 Sep 2011 10:12:08 +0000
Subject: [PATCH] Fix issue OPENDJ-207, to avoid triggering X11 server when using setup --cli mode.

---
 opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java
index b773a83..3c61cca 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java
@@ -223,7 +223,7 @@
       }
 
       checkAbort();
-      updateSummaryWithServerState(hmSummary);
+      updateSummaryWithServerState(hmSummary, true);
       setCurrentProgressStep(InstallProgressStep.FINISHED_SUCCESSFULLY);
       notifyListeners(null);
 
@@ -254,7 +254,7 @@
           }
         }
         notifyListeners(getLineBreak());
-        updateSummaryWithServerState(hmSummary);
+        updateSummaryWithServerState(hmSummary, true);
         setCurrentProgressStep(InstallProgressStep.FINISHED_WITH_ERROR);
         Message html = getFormattedError(ex, true);
         notifyListeners(html);
@@ -285,7 +285,7 @@
         }
       }
       notifyListeners(getLineBreak());
-      updateSummaryWithServerState(hmSummary);
+      updateSummaryWithServerState(hmSummary, true);
       setCurrentProgressStep(InstallProgressStep.FINISHED_WITH_ERROR);
       ApplicationException ex = new ApplicationException(
           ReturnCode.BUG,

--
Gitblit v1.10.0