From 9b9583708caee2e0f05fbcf6c013b524efa5047e Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Tue, 18 May 2021 17:47:20 +0200
Subject: [PATCH] L2SS-218 Turn of exit on error, loading LOFAR2.0 Tango DB
 does not return 0 on success

---
 bootstrap/sbin/rebuild_system_from_scratch.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bootstrap/sbin/rebuild_system_from_scratch.sh b/bootstrap/sbin/rebuild_system_from_scratch.sh
index 9a8d6a1fb..56513d1c1 100755
--- a/bootstrap/sbin/rebuild_system_from_scratch.sh
+++ b/bootstrap/sbin/rebuild_system_from_scratch.sh
@@ -69,7 +69,10 @@ function start_minimal_tango()
 
 function configure_tango_db()
 {
+    # This somehow returns with a non-0 return code.
+    set +e
     ${HOME_DIR}/sbin/update_ConfigDb.sh ${HOME_DIR}/CDB/LOFAR_ConfigDb.json
+    set -e
 }
 
 function configure_elk()
-- 
GitLab