mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
Revert "rc: Disable pathname expansion when calling run_rc_command()"
At least nuageinit is broken after this commit, breaking some downstream
CI systems. It also disables globbing for rc.local scripts, which is
likely to break users in surprising ways.
This reverts commit 4deb9760a9.
This commit is contained in:
parent
d783591a7d
commit
9c014cc25c
1 changed files with 0 additions and 4 deletions
|
|
@ -1788,11 +1788,7 @@ _run_rc_doit()
|
|||
debug "run_rc_command: doit: $*"
|
||||
_m=$(umask)
|
||||
${_umask:+umask ${_umask}}
|
||||
|
||||
# Disable pathname expansion temporarily for run_rc_command.
|
||||
set -o noglob
|
||||
eval "$@"
|
||||
set +o noglob
|
||||
_return=$?
|
||||
umask ${_m}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue