From 7f630ddbbeb11ebc5e720af24b5b691d55061272 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 3 Dec 2020 15:37:40 -0500 Subject: [PATCH] Bug 25716: Don't exit if config doesn't exist in Koha conf file Signed-off-by: Liz Rea Signed-off-by: Martin Renvoize --- debian/scripts/koha-z3950-responder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/scripts/koha-z3950-responder b/debian/scripts/koha-z3950-responder index fd1738bf80..0f5dea3782 100755 --- a/debian/scripts/koha-z3950-responder +++ b/debian/scripts/koha-z3950-responder @@ -110,7 +110,7 @@ start_z3950() if ! is_z3950_running ${instancename}; then export KOHA_CONF="/etc/koha/sites/${instancename}/koha-conf.xml" - Z3950_ADDITIONAL_OPTS="$( xmlstarlet sel -t -v 'yazgfs/config/z3950_responder_options' $KOHA_CONF )" + Z3950_ADDITIONAL_OPTS="$( xmlstarlet sel -t -v 'yazgfs/config/z3950_responder_options' $KOHA_CONF || true )" log_daemon_msg "Starting Z39.50/SRU daemon for ${instancename}" -- 2.30.2