commands/rsync-auto: fix typo

This commit is contained in:
Mitchell Hashimoto 2014-08-31 10:50:33 -07:00
parent 41f4ec1e4d
commit 0d6cf9e25f
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ module VagrantPlugins
end
@logger.info("Listening via: #{Listen::Adapter.select.inspect}")
callback = method(:callback).to_proc.curry[paths]
listopts = { ignore: ignores, force_polling: !!opts[:poll] }
listopts = { ignore: ignores, force_polling: !!options[:poll] }
listener = Listen.to(*paths.keys, listopts, &callback)
# Create the callback that lets us know when we've been interrupted