From 36303c0da3711c8c49aa5e82104765a10a8f8007 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Sat, 7 Mar 2015 21:35:36 +0100 Subject: [PATCH] Bug 13784: (QA followup) allow running Zebra for disabled instances on packages Signed-off-by: Tomas Cohen Arazi --- debian/scripts/koha-start-zebra | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/debian/scripts/koha-start-zebra b/debian/scripts/koha-start-zebra index 7d25b81..185a650 100755 --- a/debian/scripts/koha-start-zebra +++ b/debian/scripts/koha-start-zebra @@ -73,16 +73,12 @@ EOF for name in "$@" do if is_instance $name ; then - if is_enabled $name ; then - if ! is_zebra_running $name; then - if ! start_zebra_instance $name; then - warn "Something went wrong starting Zebra for $name." - fi - else - warn "Zebra already running for instance $name." + if ! is_zebra_running $name; then + if ! start_zebra_instance $name; then + warn "Something went wrong starting Zebra for $name." fi else - warn "Instance $name disabled. No action taken." + warn "Zebra already running for instance $name." fi else warn "Unknown instance $name." -- 2.3.2