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

pull/18777/head
Hans-Joachim Kliemeck 9 years ago committed by Matt Clay
parent 2ef913a288
commit 1354ef0285

@ -58,7 +58,7 @@ Else
Set-Attr $result "changed" $true; Set-Attr $result "changed" $true;
$logcontents = Get-Content $logfile; $logcontents = Get-Content $logfile | Out-String;
Remove-Item $logfile; Remove-Item $logfile;
Set-Attr $result "log" $logcontents; Set-Attr $result "log" $logcontents;

Loading…
Cancel
Save