From: Chris Lawrence Date: Sun, 16 Oct 2005 19:35:38 +0000 (-0400) Subject: lsb 3.0-10 Debian release. X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~256 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=472324216ea070dafad77c84163a23bd53e8be02;p=lsb.git lsb 3.0-10 Debian release. --- diff --git a/debian/changelog b/debian/changelog index 8b1cf88..a53d915 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +lsb (3.0-10) unstable; urgency=low + + * Use --name instead of --exec in killproc(). (Closes: #332744) + + -- Chris Lawrence Sun, 16 Oct 2005 15:35:38 -0400 + lsb (3.0-9) unstable; urgency=low * Fix silly Pythonic else in init-functions. (Closes: #329936) diff --git a/init-functions b/init-functions index 2a138e7..35bcd55 100644 --- a/init-functions +++ b/init-functions @@ -112,12 +112,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 --exec "$1" + /sbin/start-stop-daemon --stop --pidfile "$pidfile" --signal $sig --quiet --name "$1" status="$?" [ "$status" = 1 ] && return 3 # program is not running return 0 else - /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo --exec "$1" + /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo --name "$1" fi }