From 7d8f6e511ba0e72d7955bb8ff153a4827a69401e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 10 Dec 2011 21:30:54 -0800 Subject: [PATCH] Fix syntax error --- lib/vagrant/ssh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/ssh.rb b/lib/vagrant/ssh.rb index 025f98390..c4934fdb5 100644 --- a/lib/vagrant/ssh.rb +++ b/lib/vagrant/ssh.rb @@ -104,7 +104,7 @@ module Vagrant scp.upload!(from, to) end end - rescue Net::SCP::Error + rescue Net::SCP::Error => e # If we get the exit code of 127, then this means SCP is unavailable. raise Errors::SCPUnavailable if e.message =~ /\(127\)/