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

--- Comment #24 from Jonathan Druart <[email protected]> ---
Ok go with your patch first then.

Two things however:
1. koha-sip (at least, but maybe others) is missing \n in the output for
restart if stopped (see second patch from bug 24991)

$ koha-sip --verbose --stop kohadev
Stopping SIP server for kohadev:.
$ koha-sip --verbose --restart kohadev
Warning: SIP server not running for kohadev.:Starting SIP server for kohadev:.

2. in koha-zebra
         if [ "$verbose" != "no" ]; then
-            log_daemon_msg "Error: Zebra not running for ${name}"
-            log_end_msg 1
+            log_daemon_msg "Zebra not running for ${name}."
+            start_zebra ${name}
         else
+            start_zebra ${name}
             return 1
         fi

returning 1 here is wrong.

-- 
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