guests/linux: fix exception when printf is empty [GH-5846]
This commit is contained in:
parent
67c14c4889
commit
262b50bc02
|
@ -61,6 +61,8 @@ BUG FIXES:
|
|||
- guests/fedora: do not use biosdevname if it is not installed [GH-5707]
|
||||
- guests/freebsd: provide an argument to the backup file [GH-5516, GH-5517]
|
||||
- guests/funtoo: fix incorrect path in configure networks [GH-4812]
|
||||
- guests/linux: fix edge case exception where no home directory
|
||||
is available on guest [GH-5846]
|
||||
- guests/openbsd: output newline after inserted public key [GH-5881]
|
||||
- guests/tinycore: fix change hostname functionality [GH-5623]
|
||||
- guests/windows: Create rsync folder prior to rsync-ing. [GH-5282]
|
||||
|
|
|
@ -11,8 +11,10 @@ module VagrantPlugins
|
|||
end
|
||||
end
|
||||
|
||||
# The last line is the path we care about
|
||||
real_path = real_path.split("\n").last.chomp
|
||||
if real_path
|
||||
# The last line is the path we care about
|
||||
real_path = real_path.split("\n").last.chomp
|
||||
end
|
||||
|
||||
if !real_path
|
||||
# If no real guest path was detected, this is really strange
|
||||
|
|
Loading…
Reference in New Issue