zipfs icon indicating copy to clipboard operation
zipfs copied to clipboard

Ctrl-C to umount

Open wade-fs opened this issue 4 years ago • 0 comments

I met the Ctrl-C to zipfs will cause manual umount. Please add the following after mountpoint := flag.Arg(1)

cc := make(chan os.Signal, 1)
signal.Notify(cc, os.Interrupt)
go func(){
    for range cc {
        fuse.Unmount(mountpoint)
    }
}()

wade-fs avatar Jun 10 '20 02:06 wade-fs