From a5b10194627613faa706541591bfc6dccafc52a1 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 02 Apr 2008 11:00:47 +0000
Subject: [PATCH] Fix for issue 3106 (Backup's exit status 0 despite error in parameters)

---
 opendj-sdk/opends/resource/bin/_mixed-script.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/resource/bin/_mixed-script.sh b/opendj-sdk/opends/resource/bin/_mixed-script.sh
index 33e9777..28f170a 100644
--- a/opendj-sdk/opends/resource/bin/_mixed-script.sh
+++ b/opendj-sdk/opends/resource/bin/_mixed-script.sh
@@ -103,6 +103,9 @@
   if test ${EC} -eq 52
   then
     MUST_CALL_AGAIN="true"
+  else
+    # This is likely a problem with the provided arguments.
+    exit ${EC}
   fi
 fi
 

--
Gitblit v1.10.0