@@ -9,6 +9,7 @@ while [ $? -ne 0 ]; do
done
/opt/updatedb.sh
+if [[ $? -ne 0 ]]; then echo "An error occurred while updating the database ${MONGODB}"; exit 1;fi
sed -i "s/192.168.201.12:27017/${DB_CLUSTER}/" /etc/web-laboratory-admin/application.conf