fixed typo in comments
This commit is contained in:
parent
6a59ad33f7
commit
4469b45f64
@ -36,7 +36,7 @@ If (Test-Path $timestamp){
|
|||||||
$filedate = (ls $timestamp).LastWriteTime
|
$filedate = (ls $timestamp).LastWriteTime
|
||||||
$now = Get-Date
|
$now = Get-Date
|
||||||
$earlier = $now.AddSeconds(-$delay)
|
$earlier = $now.AddSeconds(-$delay)
|
||||||
# exit if timestamp to young
|
# exit if timestamp too young
|
||||||
if ( $filedate -gt $earlier ) { exit }
|
if ( $filedate -gt $earlier ) { exit }
|
||||||
}
|
}
|
||||||
# create new timestamp file
|
# create new timestamp file
|
||||||
|
Loading…
Reference in New Issue
Block a user