Skip to content

Commit

Permalink
michellh/vagrant#524
Browse files Browse the repository at this point in the history
  • Loading branch information
hh authored and mitchellh committed Oct 14, 2011
1 parent d4ff392 commit ec68c0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/vagrant/action/vm/share_folders.rb
Expand Up @@ -51,7 +51,8 @@ def mount_shared_folders
@env.ui.info I18n.t("vagrant.actions.vm.share_folders.mounting")

@env["vm"].ssh.execute do |ssh|
shared_folders.each do |name, data|
# short guestpaths first, so we don't step on ourselves
shared_folders.sort_by {|name, data| data[:guestpath].length}.each do |name, data|
if data[:guestpath]
# Guest path specified, so mount the folder to specified point
@env.ui.info(I18n.t("vagrant.actions.vm.share_folders.mounting_entry",
Expand Down

0 comments on commit ec68c0a

Please sign in to comment.