Skip to content

Ctrl-C to umount  #2

@wade-fs

Description

@wade-fs

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)
    }
}()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions