From 4b889ee641fd0647df9d7755bcf61634985cd66f Mon Sep 17 00:00:00 2001 From: Peter Mosmans Date: Wed, 30 Dec 2015 07:56:08 +1000 Subject: [PATCH] Fix for #6761 (fixes incomplete #6598) --- lib/vagrant/util/platform.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/util/platform.rb b/lib/vagrant/util/platform.rb index 9f461d835..fc7d7ddff 100644 --- a/lib/vagrant/util/platform.rb +++ b/lib/vagrant/util/platform.rb @@ -188,7 +188,7 @@ module Vagrant path = path.gsub("/", "\\") # If the path is just a drive letter, then return that as-is - return path if path =~ /^[a-zA-Z]:\\?$/ + return path + "\\" if path =~ /^[a-zA-Z]:\\?$/ # Convert to UNC path "\\\\?\\" + path.gsub("/", "\\")