hosts/bsd: check exports only if exports file exists [GH-2714]
This commit is contained in:
parent
7f78f18218
commit
2cf864e95b
|
@ -7,6 +7,8 @@ BUG FIXES:
|
|||
registered plugin name [GH-2617]
|
||||
- core: Fix exception if an EOFError was somehow raised by Ruby while
|
||||
checking a box checksum. [GH-2716]
|
||||
- hosts/bsd: Only run `nfsd checkexports` if there is an exports file.
|
||||
[GH-2714]
|
||||
|
||||
## 1.4.1 (December 18, 2013)
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
def nfs_export(id, ips, folders)
|
||||
nfs_checkexports!
|
||||
nfs_checkexports! if File.file?("/etc/exports")
|
||||
|
||||
# We need to build up mapping of directories that are enclosed
|
||||
# within each other because the exports file has to have subdirectories
|
||||
|
|
Loading…
Reference in New Issue