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:
parent
c53dab9e6b
commit
50ca035a1f
@ -117,9 +117,7 @@ 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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user