lib/vagrant/action/builtin/ssh_run.rb in vagrant-unbundled-2.2.19.0 vs lib/vagrant/action/builtin/ssh_run.rb in vagrant-unbundled-2.3.2.0
- old
+ new
@@ -68,13 +68,17 @@
opts[:extra_args] << "-t"
end
opts[:extra_args] << command
opts[:subprocess] = true
- env[:ssh_run_exit_status] = Util::SSH.exec(info, opts)
+ env[:ssh_run_exit_status] = _raw_ssh_exec(env, info, opts)
# Call the next middleware
@app.call(env)
+ end
+
+ def _raw_ssh_exec(env, info, opts)
+ Util::SSH.exec(info, opts)
end
end
end
end
end