shell.rb: fix precedence

This commit is contained in:
Peter Ericson 2014-06-03 14:19:21 +10:00 committed by Max Lincoln
parent 2f52a9c15c
commit 52d8fddf38
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ module VagrantPlugins
@logger.debug("initializing WinRMShell")
@host = host
@port = options[:port] || options[:ssl] ? 5986 : 5985
@port = options[:port] || (options[:ssl] ? 5986 : 5985)
@username = username
@password = password
@timeout_in_seconds = options[:timeout_in_seconds] || 60