From 8e6a38339235c825951639ca36567390aa59c3eb 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 --- 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.24.1 (Apple Git-126)