From 0190fa66bcab9f911f23bf954eaa45f9af4aaa76 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Tue, 25 Jun 2013 15:06:39 +0000
Subject: [PATCH] OPENDJ-1010 "upgrade --force" should not automatically accept the license
---
opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java b/opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java
index 334f8e1..e371846 100644
--- a/opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java
+++ b/opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java
@@ -797,6 +797,8 @@
// The option is not present ? Stops the process.
if (!context.isInteractiveMode() && !context.isForceUpgradeMode())
{
+ context
+ .notify(Message.raw(" "), FormattedNotificationCallback.BREAKLINE);
context.notify(ERR_UPGRADE_USER_INTERACTION_REQUIRED.get(
OPTION_LONG_NO_PROMPT, OPTION_LONG_FORCE_UPGRADE),
FormattedNotificationCallback.NOTICE_CALLBACK);
--
Gitblit v1.10.0