https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24438

--- Comment #7 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 201097
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201097&action=edit
Bug 24438: Make koha-elasticsearch report rebuild failures

The koha-elasticsearch wrapper warns on a failed rebuild but always exits 0.
This patch makes
it exit non-zero so the failure is visible to cron or whatever called it.

Test Plan:
1) Apply this patch
2) Force a rebuild failure for an instance ( e.g. point the elasticsearch
server in
   koha-conf.xml at a dead host )
3) koha-elasticsearch --rebuild <instance> ; echo $?
4) Note it now exits non-zero!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to