From f4a972ddf1f8002095b1e57bd93bb8894ae745f2 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 23 Jul 2018 22:24:19 +0200 Subject: configfile: drop superflous Printf Before: $ gocryptfs -fsck . LoadConfFile: ReadFile: &os.PathError{Op:"open", Path:"/var/tmp/check-gocryptfs/scratchdev/gocryptfs.conf", Err:0xd} Cannot open config file: open /var/tmp/check-gocryptfs/scratchdev/gocryptfs.conf: permission denied After: $ gocryptfs -fsck . Cannot open config file: open /var/tmp/check-gocryptfs/scratchdev/gocryptfs.conf: permission denied --- internal/configfile/config_file.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/configfile/config_file.go b/internal/configfile/config_file.go index 1e48c97..4edf99d 100644 --- a/internal/configfile/config_file.go +++ b/internal/configfile/config_file.go @@ -131,7 +131,6 @@ func Load(filename string, password []byte) ([]byte, *ConfFile, error) { // Read from disk js, err := ioutil.ReadFile(filename) if err != nil { - fmt.Printf("LoadConfFile: ReadFile: %#v\n", err) return nil, nil, err } -- cgit v1.2.3