svn commit: r200743 - in head/usr.sbin: . service
cyrille.lefevre-lists at laposte.net
Wed Feb 24 01:53:43 UTC 2010
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 ?
exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin $dir/$script $*
exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin "$dir/$script" "$@"
mailto:Cyrille.Lefevre-lists at laposte.net
More information about the svn-src-all