1
0
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:
Mathias Buus 2015-03-12 03:12:14 +01:00
parent b249f974cd
commit af505ffc05

View File

@ -47,3 +47,9 @@ fuse.mount('./mnt', {
return cb(str.length)
}
})
process.on('SIGINT', function () {
fuse.unmount('./mnt', function () {
process.exit()
})
})