Add comment to clarify
This commit is contained in:
parent
1cd266da9d
commit
1bef7dec61
|
@ -516,6 +516,8 @@ module Vagrant
|
||||||
|
|
||||||
# Attempt to write into the home directory to verify we can
|
# Attempt to write into the home directory to verify we can
|
||||||
begin
|
begin
|
||||||
|
# Append a random suffix to avoid race conditions if Vagrant
|
||||||
|
# is running in parallel with other Vagrant processes.
|
||||||
suffix = (0...32).map { (65 + rand(26)).chr }.join
|
suffix = (0...32).map { (65 + rand(26)).chr }.join
|
||||||
path = @home_path.join("perm_test_#{suffix}")
|
path = @home_path.join("perm_test_#{suffix}")
|
||||||
path.open("w") do |f|
|
path.open("w") do |f|
|
||||||
|
|
Loading…
Reference in New Issue