corrected replacement of last backslash

pull/18777/head
Hans-Joachim Kliemeck 9 years ago committed by Matt Clay
parent cd0e97dc77
commit bb27e38578

@ -145,7 +145,7 @@ Try {
}
# normalize path and remove slash at the end
$path = (Get-Item $path).FullName -replace ".$"
$path = (Get-Item $path).FullName -replace "\\$"
# need to (re-)create share
If (!$share) {

Loading…
Cancel
Save