synced_folders/rsync: pass --delete option to delete bad files

This commit is contained in:
Mitchell Hashimoto 2014-01-13 11:40:46 -08:00
parent ae9b74464d
commit c05a44face
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ module VagrantPlugins
"rsync",
"--verbose",
"--archive",
"--delete",
"-z",
excludes.map { |e| ["--exclude", e] },
"-e", rsh,