diff --git a/profiles/DerGeret/Windows/Setup.ps1 b/profiles/DerGeret/Windows/Setup.ps1 index 4f85ae26..94763bf9 100644 --- a/profiles/DerGeret/Windows/Setup.ps1 +++ b/profiles/DerGeret/Windows/Setup.ps1 @@ -46,7 +46,7 @@ $Global:SetupConfigPostprocessor = { $size = $winPartition.OwnerDocument.CreateElement("Size"); $size.InnerText = "$((1 * 1024 * 1024) - $garbage)"; $winPartition.RemoveChild($winPartition.SelectSingleNode("./ua:Extend", $namespace)); - $winPartition.AppendChild($size); + $null = $winPartition.AppendChild($size); $newPartition.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex"; $null = $partitionCreationContainer.AppendChild($newPartition);