From 9072b0311792395b0051b7a48bd58c6227159386 Mon Sep 17 00:00:00 2001 From: Chris Lawrence Date: Wed, 5 Mar 2008 13:01:08 -0600 Subject: [PATCH] lsb 3.2-4 Debian release. --- debian/changelog | 6 ++++++ init-functions | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1422cd3..2758bd1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +lsb (3.2-4) unstable; urgency=high + + * Reverse test in killproc(). (Closes: #469404) + + -- Chris Lawrence Wed, 05 Mar 2008 13:01:08 -0600 + lsb (3.2-3) unstable; urgency=medium * Handle missing $sig in killproc() properly. (Closes: #469167) diff --git a/init-functions b/init-functions index 1b2d56f..47634ee 100644 --- a/init-functions +++ b/init-functions @@ -120,9 +120,9 @@ killproc () { status=0 if [ ! "$is_term_sig" = yes ]; then if [ -n "$sig" ]; then - /sbin/start-stop-daemon --stop --pidfile "$pidfile" --quiet $name_param || status="$?" - else /sbin/start-stop-daemon --stop --signal "$sig" --pidfile "$pidfile" --quiet $name_param || status="$?" + else + /sbin/start-stop-daemon --stop --pidfile "$pidfile" --quiet $name_param || status="$?" fi else /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo $name_param || status="$?" -- 2.30.2