fix problem with file content and high cpu/out of memory errors

This commit is contained in:
Hans-Joachim Kliemeck 2015-12-14 16:04:13 +01:00
parent 1ec0c1893a
commit 777edaf3f5

View file

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