summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-07-23 22:24:19 +0200
committerJakob Unterwurzacher2018-07-23 22:25:40 +0200
commitf4a972ddf1f8002095b1e57bd93bb8894ae745f2 (patch)
treea48b112634959909b580a18e9d7ea670734b826e /internal
parentf316f1b2df47dca651174e574ab072f6b46c0b01 (diff)
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
Diffstat (limited to 'internal')
-rw-r--r--internal/configfile/config_file.go1
1 files changed, 0 insertions, 1 deletions
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
}