From 49587b4efe9d7669148b9c8978ac4ebfc2de92c5 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Tue, 02 Oct 2007 19:28:38 +0000
Subject: [PATCH] Addresses issue 2370 in which the non-interactive option issued a success message to a request to cancel an uninterruptable task while executing.  This code also causes the command to return a non-zero error code if a non-interactive cancel or info operation is unsuccessful.

---
 opends/src/messages/messages/tools.properties |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opends/src/messages/messages/tools.properties b/opends/src/messages/messages/tools.properties
index 05acf52..b78f776 100644
--- a/opends/src/messages/messages/tools.properties
+++ b/opends/src/messages/messages/tools.properties
@@ -2181,4 +2181,6 @@
   invalid.  The value must be one of %s
 SEVERE_ERR_TASKTOOL_FDA_WITH_NO_DEPENDENCY_1476=The failed dependency action \
   option is to be used in conjunction with one or more dependencies
+SEVERE_ERR_TASKINFO_TASK_NOT_CANCELABLE_TASK_1477=Error:  task %s is not in a \
+  cancelable state
 

--
Gitblit v1.10.0