From 6b76df204b8cf57758fa8ff3c4a0ae84f1970811 Mon Sep 17 00:00:00 2001 From: greg stone Date: Sun, 26 Feb 2023 07:35:16 +0000 Subject: [PATCH] cleaning up the logging. --- pkg/storage/cmd.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/storage/cmd.go b/pkg/storage/cmd.go index af4113cd..0235b027 100644 --- a/pkg/storage/cmd.go +++ b/pkg/storage/cmd.go @@ -67,6 +67,8 @@ func configureKey() { return } + log.I.Ln("no keyfile found, checking for user prompt") + if viper.GetBool(storeAskPassFlag) { log.I.Ln("prompting user for key") @@ -81,7 +83,7 @@ func configureKey() { return } - log.I.Ln("no keyfile found, generating a new key") + log.I.Ln("no prompt specified, generating a new key") isNewKey = true