diff --git a/io/encryption.go b/io/encryption.go index 07999c528..9ddab977a 100644 --- a/io/encryption.go +++ b/io/encryption.go @@ -28,7 +28,7 @@ func (reader CryptionReader) Read(blocks []byte) (int, error) { if nBytes > 0 { reader.stream.XORKeyStream(blocks[:nBytes], blocks[:nBytes]) } - if err != nil { + if err != nil && err != io.EOF { log.Error("Error reading blocks: %v", err) } return nBytes, err