[Koha-patches] [PATCH] Bug 6929 - ensure that koha-stop-zebra will try to stop everything
Robin Sheat
robin at catalyst.net.nz
Wed Sep 28 08:10:24 CEST 2011
Currently, if it attempts to stop a zebra process that doesn't exist,
the script will abort, which leaves things running. This patch prevents
it from aborting.
---
debian/scripts/koha-stop-zebra | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/debian/scripts/koha-stop-zebra b/debian/scripts/koha-stop-zebra
index 3ddd697..7f3efcc 100755
--- a/debian/scripts/koha-stop-zebra
+++ b/debian/scripts/koha-stop-zebra
@@ -33,5 +33,5 @@ do
--stop \
-- \
zebrasrv \
- -f "/etc/koha/sites/$name/koha-conf.xml"
+ -f "/etc/koha/sites/$name/koha-conf.xml" || true
done
--
1.7.4.1
More information about the Koha-patches
mailing list