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() {
|
go func() {
|
||||||
err := fs.Serve(m.fuseConn, m.filesys)
|
err := fs.Serve(m.fuseConn, m.filesys)
|
||||||
log.Debugf("Mounting %s -- fs.Serve returned (%s)", err)
|
log.Debugf("Mounting %s -- fs.Serve returned (%s)", err)
|
||||||
errs <- err
|
if err != nil {
|
||||||
close(errs)
|
errs <- err
|
||||||
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// wait for the mount process to be done, or timed out.
|
// wait for the mount process to be done, or timed out.
|
||||||
|
Reference in New Issue
Block a user