Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145343827
D45855.id156925.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
344 B
Referenced Files
None
Subscribers
None
D45855.id156925.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 19, 3:25 PM (8 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28882585
Default Alt Text
D45855.id156925.diff (344 B)
Attached To
Mode
D45855: rc: Disable pathname expansion when calling run_rc_command()
Attached
Detach File
Event Timeline
Log In to Comment