aboutsummaryrefslogtreecommitdiff
path: root/cryptfs/config_file.go
diff options
context:
space:
mode:
Diffstat (limited to 'cryptfs/config_file.go')
-rw-r--r--cryptfs/config_file.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cryptfs/config_file.go b/cryptfs/config_file.go
index 9be80ca..ef426ff 100644
--- a/cryptfs/config_file.go
+++ b/cryptfs/config_file.go
@@ -67,7 +67,8 @@ func LoadConfFile(filename string, password string) ([]byte, *ConfFile, error) {
cfs := NewCryptFS(scryptHash, false)
key, err := cfs.DecryptBlock(cf.EncryptedKey, 0)
if err != nil {
- Warn.Printf("Failed to unlock master key: %s\n", err.Error())
+ Warn.Printf("failed to unlock master key: %s\n", err.Error())
+ Warn.Printf("Password incorrect.\n")
return nil, nil, err
}