From 94dd210be723407d5fccfb3059794e982a277a80 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 17 Mar 2013 11:24:34 -0700 Subject: [PATCH] Return the value of the yielded block in Busy --- lib/vagrant/util/busy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/util/busy.rb b/lib/vagrant/util/busy.rb index 52ee25929..e92ba7f78 100644 --- a/lib/vagrant/util/busy.rb +++ b/lib/vagrant/util/busy.rb @@ -16,7 +16,7 @@ module Vagrant # to the callback to behave properly and exit the application. def busy(sig_callback) register(sig_callback) - yield + return yield ensure unregister(sig_callback) end