mirror of https://github.com/go-gitea/gitea.git
f86afb04a2
The dump cmd did not check the return value of the z.AddFile or z.AddDir when building the final archive. It caused the dump command to succeed even if an error occurred. The resulted dump archive could be corrupted/empty. (errors could be various: removal by a concurrent process, disk full, bugs in the dump cmd itself) |
||
---|---|---|
.. | ||
cert.go | ||
cert_stub.go | ||
cmd.go | ||
dump.go | ||
serve.go | ||
update.go | ||
web.go |