From 777edaf3f5991c34d6f4c6ee5cbbec7e4014706c Mon Sep 17 00:00:00 2001 From: Hans-Joachim Kliemeck Date: Mon, 14 Dec 2015 16:04:13 +0100 Subject: [PATCH] fix problem with file content and high cpu/out of memory errors --- windows/win_msi.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/win_msi.ps1 b/windows/win_msi.ps1 index f1381e9bf23..c162243f2c8 100644 --- a/windows/win_msi.ps1 +++ b/windows/win_msi.ps1 @@ -47,7 +47,7 @@ Else Set-Attr $result "changed" $true; -$logcontents = Get-Content $logfile; +$logcontents = Get-Content $logfile | Out-String; Remove-Item $logfile; Set-Attr $result "log" $logcontents;