Page MenuHomeFreeBSD

D45855.id156925.diff
No OneTemporary

D45855.id156925.diff

diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr
--- a/libexec/rc/rc.subr
+++ b/libexec/rc/rc.subr
@@ -1788,7 +1788,11 @@
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}

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 19, 4:52 PM (9 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28882585
Default Alt Text
D45855.id156925.diff (344 B)

Event Timeline