Skip to content
Browse files

Don't touch the ssh config file if it already exists

  • Loading branch information...
1 parent 7f20a37 commit 058bd33107eb5fea5cd8f869b921d846682bfa20 @philc philc committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  script/setup_vagrant.rb
2  script/setup_vagrant.rb
@@ -32,7 +32,7 @@ def setup_vagrant
def setup_ssh_config
ssh_config_path = File.expand_path("~/.ssh/config")
- FileUtils.touch(ssh_config_path)
+ FileUtils.touch(ssh_config_path) unless File.exists?(ssh_config_path)
# Create an entry in our ~/.ssh/config which allows us to ssh into this vagrant box by hostname.

0 comments on commit 058bd33

Please sign in to comment.
Something went wrong with that request. Please try again.