mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
update example
This commit is contained in:
parent
b249f974cd
commit
af505ffc05
@ -47,3 +47,9 @@ fuse.mount('./mnt', {
|
||||
return cb(str.length)
|
||||
}
|
||||
})
|
||||
|
||||
process.on('SIGINT', function () {
|
||||
fuse.unmount('./mnt', function () {
|
||||
process.exit()
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user