From 00a712b4d1e68bb3c156eb8f97fbb89d684a7e92 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 13 Dec 2015 20:10:52 +0100 Subject: go fmt ...and minimal comment changes. --- pathfs_frontend/fs_dir.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pathfs_frontend/fs_dir.go') 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) -- cgit v1.2.3