synced_folders/rsync: style
This commit is contained in:
parent
a7453a6ad6
commit
bb967265df
|
@ -79,7 +79,7 @@ module VagrantPlugins
|
||||||
|
|
||||||
# Remove the -p option if --archive is enabled (--archive equals -rlptgoD)
|
# Remove the -p option if --archive is enabled (--archive equals -rlptgoD)
|
||||||
# otherwise new files will not have the destination-default permissions
|
# otherwise new files will not have the destination-default permissions
|
||||||
args << "--no-perms" if (args.include? "--archive") || (args.include? "-a")
|
args << "--no-perms" if args.include?("--archive") || args.include?("-a")
|
||||||
end
|
end
|
||||||
|
|
||||||
# Build up the actual command to execute
|
# Build up the actual command to execute
|
||||||
|
|
Loading…
Reference in New Issue