Bugzilla – Attachment 130060 Details for
Bug 24991
make restart sip start sip if it isn't running
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24991: Define noLF for the else block as well
Bug-24991-Define-noLF-for-the-else-block-as-well.patch (text/plain), 868 bytes, created by
Jonathan Druart
on 2022-02-02 09:06:36 UTC
(
hide
)
Description:
Bug 24991: Define noLF for the else block as well
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-02-02 09:06:36 UTC
Size:
868 bytes
patch
obsolete
>From e247b33e05d02d3f6f11967f9640d72d9661be33 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 2 Feb 2022 10:05:31 +0100 >Subject: [PATCH] Bug 24991: Define noLF for the else block as well > >An empty line was displayed if --restart was called after --stop >--- > debian/scripts/koha-sip | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-sip b/debian/scripts/koha-sip >index b3a1cd1dde5..4ecdb91a6f4 100755 >--- a/debian/scripts/koha-sip >+++ b/debian/scripts/koha-sip >@@ -149,10 +149,10 @@ stop_sip() > restart_sip() > { > local name=$1 >+ local noLF="-n" >+ [ "$verbose" != "no" ] && noLF="" > > if is_sip_running ${name}; then >- local noLF="-n" >- [ "$verbose" != "no" ] && noLF="" > echo $noLF `stop_sip ${name}` > > MAX_ITERATION=10 >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24991
:
101874
|
120638
|
129807
|
130059
| 130060