mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix win_robocopy flags argument (#19603)
This commit is contained in:
parent
45c57618b3
commit
2ffb705049
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@ if ($flags -eq $null) {
|
|||
}
|
||||
}
|
||||
Else {
|
||||
$robocopy_opts += $flags
|
||||
ForEach ($f in $flags.split(" ")) {
|
||||
$robocopy_opts += $f
|
||||
}
|
||||
}
|
||||
|
||||
Set-Attr $result.win_robocopy "purge" $purge
|
||||
|
|
Loading…
Add table
Reference in a new issue