mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-22 22:34:49 -04:00
fix return bgu
This commit is contained in:
1 file changed
+4
-1
@@ -50,7 +50,10 @@ func (s Store) writeRecordToFile(record proto.Message, filePath string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
file.Write(v)
|
||||
_, err = file.Write(v)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user