Fix syntax error
This commit is contained in:
parent
f44f1831ef
commit
7d8f6e511b
|
@ -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\)/
|
||||
|
||||
|
|
Loading…
Reference in New Issue