corrected replacement of last backslash

reviewable/pr18780/r1
Hans-Joachim Kliemeck 9 years ago
parent 55f64daee3
commit e4d9034fbc

@ -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