1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 16:07:42 +08:00

FUSE: Stop treating "no errors" as an error

This commit is contained in:
Konstantin Koroviev
2015-03-22 17:46:35 +02:00
parent 039526b93c
commit b6c0ade276

View File

@ -53,8 +53,9 @@ func (m *mount) mount() error {
go func() {
err := fs.Serve(m.fuseConn, m.filesys)
log.Debugf("Mounting %s -- fs.Serve returned (%s)", err)
if err != nil {
errs <- err
close(errs)
}
}()
// wait for the mount process to be done, or timed out.