Skip to content

Commit 02758e3

Browse files
author
Paulo Bittencourt
committed
fix indentation (using spaces instead of tabs)
1 parent a426b85 commit 02758e3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/vagrant-hostmanager/hosts_file.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ def update_guest(machine)
88

99
if (machine.communicate.test("uname -s | grep SunOS"))
1010
realhostfile = '/etc/inet/hosts'
11-
move_cmd = 'mv'
11+
move_cmd = 'mv'
1212
elsif (machine.communicate.test("test -d $Env:SystemRoot"))
13-
realhostfile = "#{ENV['WINDIR']}\\System32\\drivers\\etc\\hosts"
14-
15-
move_cmd = 'mv -force'
13+
realhostfile = "#{ENV['WINDIR']}\\System32\\drivers\\etc\\hosts"
14+
move_cmd = 'mv -force'
1615
else
1716
realhostfile = '/etc/hosts'
18-
move_cmd = 'mv'
17+
move_cmd = 'mv'
1918
end
2019
# download and modify file with Vagrant-managed entries
2120
file = @global_env.tmp_path.join("hosts.#{machine.name}")

0 commit comments

Comments
 (0)