Only ignore files failed to copy
Copy process should continue as the rest files may succeed.
This commit is contained in:
parent
71f5b0f97f
commit
cc703fd77c
|
@ -28,7 +28,6 @@ function copy-file($machine, $file_list, $path_separator) {
|
|||
Write-Host "Copied $from to $($machine) => $to."
|
||||
} Catch {
|
||||
$failed += $from
|
||||
Break
|
||||
}
|
||||
}
|
||||
[hashtable]$return = @{}
|
||||
|
|
Loading…
Reference in New Issue