svn commit: r200743 - in head/usr.sbin: . service
Cyrille Lefevre
cyrille.lefevre-lists at laposte.net
Wed Feb 24 01:53:32 UTC 2010
Cyrille Lefevre a écrit :
> Doug Barton a écrit :
>> I agree to making the change you suggested, but I would like to
>> quibble over the format. Isn't the attached patch equivalent, and
>> simpler? What is the value of setting HOME and PATH in the environment
>> if we're just going to use 'env -i HOME PATH' anyway?
>
> how about to replace $* by "$@" in service.sh and to quote $dir/$script
> as well ?
>
> before :
> exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin $dir/$script $*
>
> after :
> exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin "$dir/$script" "$@"
forgive me for the noise, don't see the message from "Jilles Tjoelker"...
Regards,
Cyrille Lefevre
--
mailto:Cyrille.Lefevre-lists at laposte.net
More information about the svn-src-all
mailing list