From 30fd46a50be3f046a1eff45c5c05db761ef5d8fb 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)

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

diff --git a/opends/resource/bin/_mixed-script.sh b/opends/resource/bin/_mixed-script.sh
index 33e9777..28f170a 100644
--- a/opends/resource/bin/_mixed-script.sh
+++ b/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