From dfd93d087cd31e69d2464177723cb1cf97074ba0 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Thu, 13 Mar 2014 23:02:18 -0300 Subject: [PATCH] action: Keep old behavior of erroring on `vagrant ssh -c` instead of just showing a message --- lib/vagrant-lxc/action.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-lxc/action.rb b/lib/vagrant-lxc/action.rb index ce53061..f97e842 100644 --- a/lib/vagrant-lxc/action.rb +++ b/lib/vagrant-lxc/action.rb @@ -236,7 +236,7 @@ module Vagrant b2.use Builtin::Call, Builtin::IsState, :running do |env1, b3| if !env1[:result] - b3.use Builtin::Message, I18n.t("vagrant_lxc.messages.not_running") + raise Vagrant::Errors::VMNotRunningError next end