Return the value of the yielded block in Busy
This commit is contained in:
parent
fc62f5c3b6
commit
94dd210be7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue