diff --git a/cmd/dwelling-upload/main.go b/cmd/dwelling-upload/main.go index 47d0207..0e2a18d 100644 --- a/cmd/dwelling-upload/main.go +++ b/cmd/dwelling-upload/main.go @@ -117,9 +117,7 @@ func main() { logErr.Println("failed to get uploads directory size:", err) } - if sz > 0 { - uploadDirSize = sz - } + uploadDirSize = sz } } }()