internal/exportdata: add missing return

Change-Id: I4c4b6f038193933a42988837fc2e385f8b6df980
This commit is contained in:
Mateusz Poliwczak 2025-01-02 18:53:28 +01:00
parent 858a0e9dfd
commit 3eee41957d
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ func ReadUnified(r *bufio.Reader) (data []byte, err error) {
if n < 0 {
err = fmt.Errorf("invalid size (%d) in the archive file: %d bytes remain without section headers (recompile package)", size, n)
return
}
// Read n bytes from buf.