From 1c952abb4033939f74ea5062a9987523afab5431 Mon Sep 17 00:00:00 2001 From: Joel Smith Date: Tue, 3 Sep 2024 12:45:20 -0500 Subject: [PATCH] Print to stderr --- crypto/keyring/keyring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/keyring/keyring.go b/crypto/keyring/keyring.go index 9e7422be4..24931d8ac 100644 --- a/crypto/keyring/keyring.go +++ b/crypto/keyring/keyring.go @@ -987,7 +987,7 @@ func (ks keystore) migrate(key string) (*Record, error) { return nil, fmt.Errorf("unable to set keyring.Item, err: %w", err) } - fmt.Printf("Successfully migrated key %s.\n", key) + fmt.Fprintf(os.Stderr, "Successfully migrated key %s.\n", key) return k, nil }