Fix stop watch

This commit is contained in:
Markus Fleschutz
2021-04-21 16:43:08 +02:00
parent f156c432e0
commit b90f8cc67a
7 changed files with 7 additions and 7 deletions

View File

@ -46,7 +46,7 @@ try {
$ftpStream.Dispose()
$fileStream.Dispose()
[int]$Elapsed = $StopWatch.TotalSeconds
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ uploaded $File to $URL in $Elapsed sec."
exit 0
} catch {