Merge pull request #3902 from zigg/fix/osx-xargs-r-flag

guests/darwin: drop `-r` flag from `xargs` on OS X
This commit is contained in:
Mitchell Hashimoto 2014-05-25 16:08:55 -07:00
commit 29bb106c13
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module VagrantPlugins
machine.communicate.sudo(
"find '#{opts[:guestpath]}' '(' ! -user #{opts[:owner]} -or ! -group #{opts[:group]} ')' -print0 | " +
"xargs -0 -r chown #{opts[:owner]}:#{opts[:group]}")
"xargs -0 chown #{opts[:owner]}:#{opts[:group]}")
end
end
end