Merge pull request #3552 from benesch/rsync-auto-handle-interrupt

command/rsync-auto: properly exit on interrupt
This commit is contained in:
Mitchell Hashimoto 2014-04-27 15:54:22 -07:00
commit 77fb6d73b8
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ module VagrantPlugins
callback = lambda do
# This needs to execute in another thread because Thread
# synchronization can't happen in a trap context.
Thread.new { queue << true }.join
Thread.new { queue << true }
end
# Run the listener in a busy block so that we can cleanly