rclone/cmd/mount
Fabian Möller d022c81d99 mount: ensure atexit gets run on interrupt
When running `rclone mount`, there were 2 signal handlers for `os.Interrupt`.

Those handlers would run concurrently and in some cases cause either unmount or `atexit.Run()` being skipped.

In addition `atexit.Run()` will get called in `resolveExitCode` to ensure cleanup on errors.
2018-05-12 10:40:44 +01:00
..
test Use io.SeekStart/End/Current constants now for go1.7+ #2154 2018-04-07 11:42:36 +01:00
dir.go Replace "golang.org/x/net/context" with "context" for go1.7+ #2154 2018-04-07 11:42:08 +01:00
file.go mount: make Get/List/Set/Remove xattr return ENOSYS #2287 2018-05-07 20:37:09 +01:00
fs.go vfs,mount,cmount: use About to return the correct disk total/used/free 2018-04-18 18:27:34 +01:00
handle.go Replace "golang.org/x/net/context" with "context" for go1.7+ #2154 2018-04-07 11:42:08 +01:00
mount.go mount: ensure atexit gets run on interrupt 2018-05-12 10:40:44 +01:00
mount_test.go mounttest: reduce duplicated code and improve test output #2154 2018-04-08 15:04:14 +01:00
mount_unsupported.go Add mount command to implement FUSE mounting of remotes #494 2016-08-18 21:54:54 +01:00