diff options
author | Jakob Unterwurzacher | 2015-12-13 20:10:52 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-12-13 20:24:13 +0100 |
commit | 00a712b4d1e68bb3c156eb8f97fbb89d684a7e92 (patch) | |
tree | abf6d8c1b4493542686b3e59aaa08602fbfd4ead /pathfs_frontend/fs_dir.go | |
parent | 8518d6d7bde33fdc7ef5bcb7c3c7709404392ad8 (diff) |
go fmt
...and minimal comment changes.
Diffstat (limited to 'pathfs_frontend/fs_dir.go')
-rw-r--r-- | pathfs_frontend/fs_dir.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pathfs_frontend/fs_dir.go b/pathfs_frontend/fs_dir.go index 95257bb..9b319f8 100644 --- a/pathfs_frontend/fs_dir.go +++ b/pathfs_frontend/fs_dir.go @@ -1,10 +1,10 @@ package pathfs_frontend import ( + "fmt" "os" "path/filepath" "syscall" - "fmt" "github.com/hanwen/go-fuse/fuse" "github.com/rfjakob/gocryptfs/cryptfs" @@ -85,7 +85,7 @@ func (fs *FS) Rmdir(name string, context *fuse.Context) (code fuse.Status) { cryptfs.Debug.Printf("Rmdir: Chmod failed: %v\n", err2) return fuse.ToStatus(err) } - defer func () { + defer func() { if code != fuse.OK { // Undo the chmod if removing the directory failed err3 := os.Chmod(encPath, origMode) |