1
0

Uhm... Don't recall why, but nonetheless, this is why size wasn't being updated when there were no files left.

This commit is contained in:
Alexander Andreev 2023-05-21 20:53:03 +04:00
parent c53dab9e6b
commit 50ca035a1f
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -117,11 +117,9 @@ func main() {
logErr.Println("failed to get uploads directory size:", err) logErr.Println("failed to get uploads directory size:", err)
} }
if sz > 0 {
uploadDirSize = sz uploadDirSize = sz
} }
} }
}
}() }()
<-doneSignal <-doneSignal