From 5af0ad183bbb121b32bcb1ba6664d2b7d0ac05f6 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 a3422d55d4..85ae6f4da9 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.20.1