README: suggest catching errors (#44)

* README: suggest catching errors

* README: throw instead of log
Daniel Cousens 8 years ago committed by Mathias Buus
parent c8df285152
commit db48a52bf8

@ -85,7 +85,9 @@ fuse.mount('./mnt', {
})
process.on('SIGINT', function () {
fuse.unmount('./mnt', function () {
fuse.unmount('./mnt', function (err) {
if (err) throw err
process.exit()
})
})

Loading…
Cancel
Save