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:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user