From: Chris Lawrence Date: Fri, 12 Aug 2005 20:18:39 +0000 (-0500) Subject: lsb 3.0-5 Debian release. X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~261 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=13d30fb9886ac88f650c6c02bb766f3c3abdc0c9;p=lsb.git lsb 3.0-5 Debian release. --- diff --git a/debian/changelog b/debian/changelog index 307cc0a..aa18c47 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +lsb (3.0-5) unstable; urgency=low + + * Use --exec in calls to start-stop-daemon in killproc(). (Closes: #322770) + + -- Chris Lawrence Fri, 12 Aug 2005 15:18:39 -0500 + lsb (3.0-4) unstable; urgency=medium * Fix LIBC setting; add Alpha support. (Closes: #322316) diff --git a/init-functions b/init-functions index 72435cb..22cfb18 100644 --- a/init-functions +++ b/init-functions @@ -113,12 +113,12 @@ killproc () { if [ $2 ]; then sig=$(echo $2 | sed -e 's/^-\(.*\)/\1/') sig=$(echo $sig | sed -e 's/^SIG\(.*\)/\1/') - /sbin/start-stop-daemon --stop --pidfile "$pidfile" --signal $sig --quiet + /sbin/start-stop-daemon --stop --pidfile "$pidfile" --signal $sig --quiet --exec "$1" status="$?" [ "$status" = 1 ] && return 3 # program is not running return 0 else - /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo + /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo --exec "$1" fi }