From 6ba0ce07c748cba87d5067d8a861b291e7a46dbb 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 --- 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.30.1 (Apple Git-130)