Koha/debian/scripts
Tomas Cohen Arazi 6ea48ca934 Bug 20745: koha-zebra doesn't return the correct error codes
This patch makes koha-zebra return 0 (or 1) even when verbose mode is
off. This made koha-zebra --start always return a failure even when the
daemon was correctly launched.

To test:
- Have Zebra running for kohadev instance on your KohaDevBox
- Run:
  $ sudo koha-zebra --stop kohadev && echo yay || echo doh
=> FAIL: 'doh' is printed
- Run:
  $ sudo koha-zebra --start kohadev e&& echo yay || echo doh
=> FAIL: 'doh' is printed as well
- Apply this patch
- Run:
  $ sudo perl misc4dev/cp_debian_files.pl
  $ sudo koha-zebra --stop kohadev && echo yay || echo doh
=> SUCCESS: 'yay' is printed
- Run:
  $ sudo koha-zebra --start kohadev e&& echo yay || echo doh
=> SUCCESS: 'yay' is printed
- Sign off :-D

Sponsored-by: ByWater Solutions

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-05-11 10:52:44 -03:00
..
koha-create Bug 20525: Add --timezone switch to koha-create 2018-05-08 12:14:46 -03:00
koha-create-dirs Bug 17951: Make koha-create set template_cache_dir correctly 2017-12-22 13:15:39 -03:00
koha-disable Bug 20234: Make maintenance scripts use koha-zebra instead of koha-*-zebra 2018-02-27 15:58:33 -03:00
koha-dump
koha-dump-defaults Bug 17265 - Make koha-create-defaults less greedy 2017-01-13 11:33:11 +00:00
koha-elasticsearch Bug 19462: Add a koha-elasticsearch command 2017-10-27 14:10:31 -03:00
koha-email-disable
koha-email-enable
koha-enable
koha-enable-sip
koha-foreach Bug 17717: (QA follow-up) Fix typo chdir 2018-03-15 08:22:05 +00:00
koha-functions.sh Bug 18913: Allow symbolic link in /etc/koha/sites 2018-02-19 16:41:00 -03:00
koha-indexer Bug 18554: Adjust a few typos including responsability 2017-05-09 21:03:22 +00:00
koha-list
koha-mysql
koha-mysqlcheck
koha-passwd
koha-plack Bug 19546: (QA follow-up) Make the returning cd more fool proof 2018-03-15 08:29:23 +00:00
koha-rebuild-zebra Bug 18069: Remove residue of rebuild_zebra -x 2017-03-22 21:14:31 +00:00
koha-remove Bug 20234: Make maintenance scripts use koha-zebra instead of koha-*-zebra 2018-02-27 15:58:33 -03:00
koha-reset-passwd
koha-restore
koha-run-backups
koha-shell Bug 18502: Make koha-shell set the right PERL5LIB on dev installs 2017-05-05 12:12:04 -03:00
koha-sitemap Bug 16733: Adjust other debian scripts using PERL5LIB 2017-01-20 14:15:27 +00:00
koha-start-sip Bug 16733: Adjust other debian scripts using PERL5LIB 2017-01-20 14:15:27 +00:00
koha-stop-sip Bug 16733: Adjust other debian scripts using PERL5LIB 2017-01-20 14:15:27 +00:00
koha-translate Bug 16749: Use is_instance to make sure the dev instance exist 2017-02-17 13:20:58 +00:00
koha-upgrade-schema Bug 16749: Add is_instance check to koha-upgrade-schema 2017-02-17 13:20:58 +00:00
koha-upgrade-to-3.4
koha-zebra Bug 20745: koha-zebra doesn't return the correct error codes 2018-05-11 10:52:44 -03:00