diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index 359eebd1d34..2eaf336b522 100644 --- a/libexec/rc/rc.subr +++ b/libexec/rc/rc.subr @@ -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}