lock improvement
This commit is contained in:
parent
be3fc54268
commit
f545187cfb
5 changed files with 14 additions and 19 deletions
|
|
@ -1,3 +1,5 @@
|
|||
Start-Transcript -Path '/var/log/dtch/get_matches.log' -Append
|
||||
|
||||
if ($PSScriptRoot.length -eq 0) {
|
||||
$scriptroot = Get-Location
|
||||
}
|
||||
|
|
@ -90,4 +92,5 @@ $playermatches += [PSCustomObject]@{
|
|||
|
||||
$player_matches | convertto-json -Depth 100 | out-file "$scriptroot/../data/player_matches.json"
|
||||
|
||||
remove-lock
|
||||
remove-lock
|
||||
Stop-Transcript
|
||||
Loading…
Add table
Add a link
Reference in a new issue