Fix syntax error

This commit is contained in:
Mitchell Hashimoto 2011-12-10 21:30:54 -08:00
parent f44f1831ef
commit 7d8f6e511b
1 changed files with 1 additions and 1 deletions

View File

@ -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\)/