Extra protection in the rgloader file
This commit is contained in:
parent
4e6496bed7
commit
c8ae1a265a
|
@ -4,4 +4,6 @@
|
|||
if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]
|
||||
require File.expand_path(
|
||||
"rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
|
||||
else
|
||||
raise "Encoded files can't be read outside of the Vagrant installer."
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue