Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 080a418

Browse files
author
pascal
committed
Fix Platform mismatch for SSH port forwarding
1 parent 19ab640 commit 080a418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vagrant/init.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def init__config_ssh(container, service_name)
8080
container.ssh.insert_key = false
8181
container.ssh.forward_agent = true
8282
# Only Mac needs port forwarding.
83-
return unless host_platform == 'mac_os'
83+
return if host_platform == 'mac_os'
8484
container.ssh.host = config_get_service_item(service_name, 'net_ip')
8585
container.ssh.port = 22
8686
end

0 commit comments

Comments
 (0)