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:
commit
29bb106c13
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue