|
@@ -85,7 +85,7 @@ namespace NTFSSecurity |
|
|
actualDestination = destination; |
|
|
actualDestination = destination; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (File.Exists(actualDestination)) |
|
|
|
|
|
|
|
|
if (!force & File.Exists(actualDestination)) |
|
|
{ |
|
|
{ |
|
|
WriteError(new ErrorRecord(new AlreadyExistsException(), "DestinationFileAlreadyExists", ErrorCategory.ResourceExists, actualDestination)); |
|
|
WriteError(new ErrorRecord(new AlreadyExistsException(), "DestinationFileAlreadyExists", ErrorCategory.ResourceExists, actualDestination)); |
|
|
return; |
|
|
return; |
|
@@ -129,4 +129,4 @@ namespace NTFSSecurity |
|
|
base.EndProcessing(); |
|
|
base.EndProcessing(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |