Pablo López Martín wrote:

> Its a bug in /lib/lsb/init-functions
> start_daemon function in /lib/lsb/init-functions has a bug in 3.2-21.

> I changed:
>
> args="--start --chdir '$PWD' --nicelevel $nice --quiet --oknodo"
>
> to:
>
> args="--start --chdir "$PWD" --nicelevel $nice --quiet --oknodo"
>
> and it works. Attaching the patch.

Yes, this works, but breaks horribly if there are any whitespace 
characters inside $PWD because you forgot to quote the "" inside the 
already ""-enclosed string.

Untested:

args="--start --chdir \"$PWD\" --nicelevel $nice --quiet --oknodo" 

Grüße,
Sven.



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to