Fixing locking; unlock still not working

This commit is contained in:
Ben Johnson
2020-11-03 16:35:58 -07:00
parent b1ec5c721b
commit e52d3be78d
4 changed files with 88 additions and 34 deletions

View File

@@ -78,7 +78,7 @@ func (m *Main) Run(args []string) (err error) {
}
// Mount FUSE filesystem.
conn, err := fuse.Mount(m.Path, fuse.FSName("litestream"), fuse.Subtype("litestreamfs"))
conn, err := fuse.Mount(m.Path, fuse.LockingPOSIX())
if err != nil {
return err
}