Skip to content

Commit

Permalink
Don't use unless
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Apr 2, 2012
1 parent fa14133 commit 285a07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant/ssh.rb
Expand Up @@ -79,7 +79,7 @@ def exec(opts={})
"-o", "StrictHostKeyChecking=no", "-o", "LogLevel=ERROR"]

# Solaris/OpenSolaris/Illumos uses SunSSH which doesn't support the IdentitiesOnly option
command_options += ["-o", "IdentitiesOnly=yes"] unless Util::Platform.solaris?
command_options += ["-o", "IdentitiesOnly=yes"] if !Util::Platform.solaris?

command_options += ["-i", options[:private_key_path]] if !plain_mode
command_options += ["-o", "ForwardAgent=yes"] if ssh_info[:forward_agent]
Expand Down

0 comments on commit 285a07e

Please sign in to comment.