From 0b57d8ecbbae419e1cfef80939623f28c4d133ce Mon Sep 17 00:00:00 2001 From: John McCall Date: Tue, 19 Apr 2022 22:01:40 -0400 Subject: [PATCH] comment typo --- functions/clone/New-DcnClone.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/clone/New-DcnClone.ps1 b/functions/clone/New-DcnClone.ps1 index ed64927..006d1ee 100644 --- a/functions/clone/New-DcnClone.ps1 +++ b/functions/clone/New-DcnClone.ps1 @@ -274,7 +274,7 @@ } } - # If not root dir, remove the last "\" from the path it would mess up the mount of the VHD + # If not root dir, remove the last "\" from the path, else it would mess up the mount of the VHD if (($Destination | Select-String "\\" -AllMatches).Matches.Count -gt 1) { if ($Destination.EndsWith("\")) { $Destination = $Destination.Substring(0, $Destination.Length - 1)