From e247b33e05d02d3f6f11967f9640d72d9661be33 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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