This commit is contained in:
@@ -83,6 +83,8 @@ func ReceiveKey(key string) error {
|
||||
}
|
||||
if !compare {
|
||||
return errors.New("secret key is not correct")
|
||||
} else {
|
||||
log.Printf("ReceiveKey successfully verified supplied key\n")
|
||||
}
|
||||
} else if filePath != "" {
|
||||
log.Printf("ReceiveKey storing key into file '%s'\n", filePath)
|
||||
|
Reference in New Issue
Block a user