Bug 25716: Don't exit if config doesn't exist in Koha conf file
Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
005d67063f
commit
e8b2a5b7b6
1 changed files with 1 additions and 1 deletions
2
debian/scripts/koha-z3950-responder
vendored
2
debian/scripts/koha-z3950-responder
vendored
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue