Commit 51724792 authored by Chris Lawrence's avatar Chris Lawrence Committed by Didier Raboud

lsb 3.2-22 Debian release.

parent da324199
lsb (3.2-22) unstable; urgency=low
* Fix quoting of $PWD in start-stop-daemon call. (Closes: #520499)
-- Chris Lawrence <lawrencc@debian.org> Fri, 20 Mar 2009 11:40:50 -0500
lsb (3.2-21) unstable; urgency=low
* Provide lsb_release module for Python applications. (Closes: #486262)
......
......@@ -49,13 +49,13 @@ start_daemon () {
exec="$1"; shift
args="--start --chdir '$PWD' --nicelevel $nice --quiet --oknodo"
args="--start --nicelevel $nice --quiet --oknodo"
if [ $force = 1 ]; then
/sbin/start-stop-daemon $args --startas $exec --pidfile /dev/null -- "$@"
/sbin/start-stop-daemon $args --chdir "$PWD" --startas $exec --pidfile /dev/null -- "$@"
elif [ $pidfile ]; then
/sbin/start-stop-daemon $args --exec $exec --oknodo --pidfile "$pidfile" -- "$@"
/sbin/start-stop-daemon $args --chdir "$PWD" --exec $exec --oknodo --pidfile "$pidfile" -- "$@"
else
/sbin/start-stop-daemon $args --exec $exec -- "$@"
/sbin/start-stop-daemon $args --chdir "$PWD" --exec $exec -- "$@"
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment