mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue