Skip to content

Commit

Permalink
cgofuse: actually join errors on close
Browse files Browse the repository at this point in the history
  • Loading branch information
djdv committed Dec 21, 2022
1 parent 2b6c03d commit 2b4925f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/filesystem/cgofuse/fuse.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (fh *Fuse) Close() (err error) {
defer fh.mountsMu.Unlock()
mounts := fh.getMountsLocked()
for mountpoint := range mounts {
err = fserrors.Join(unmountLocked(mounts, mountpoint))
err = fserrors.Join(err, unmountLocked(mounts, mountpoint))
}
return err
}
Expand Down

0 comments on commit 2b4925f

Please sign in to comment.