fix problem with file content and high cpu/out of memory errors
This commit is contained in:
parent
1ec0c1893a
commit
777edaf3f5
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,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…
Reference in a new issue