Return the value of the yielded block in Busy

This commit is contained in:
Mitchell Hashimoto 2013-03-17 11:24:34 -07:00
parent fc62f5c3b6
commit 94dd210be7
1 changed files with 1 additions and 1 deletions

View File

@ -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