From: Chris Lawrence Date: Wed, 5 Mar 2008 19:01:08 +0000 (-0600) Subject: lsb 3.2-4 Debian release. X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~223 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9072b0311792395b0051b7a48bd58c6227159386;p=lsb.git lsb 3.2-4 Debian release. --- 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="$?"