mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 00:39:31 +08:00
FUSE: Stop treating "no errors" as an error
This commit is contained in:
@ -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)
|
||||
errs <- err
|
||||
close(errs)
|
||||
if err != nil {
|
||||
errs <- err
|
||||
}
|
||||
}()
|
||||
|
||||
// wait for the mount process to be done, or timed out.
|
||||
|
Reference in New Issue
Block a user