mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
Use "$@" instead of $* to cope with parameters that have spaces in
them. "$@" preserves the args with spaces properly. Differential Revision: https://reviews.freebsd.org/D15784
This commit is contained in:
parent
483305b99c
commit
371ba7ec71
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335029
@ -165,7 +165,7 @@ cd /
|
||||
for dir in /etc/rc.d $local_startup; do
|
||||
if [ -x "$dir/$script" ]; then
|
||||
[ -n "$VERBOSE" ] && echo "$script is located in $dir"
|
||||
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 "$@"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user