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
This commit is contained in:
parent
f316f1b2df
commit
f4a972ddf1
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user