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
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/