From ef7c0d28f3c525ecf165ce0b04bd49aa1be22034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 10 Jan 2024 18:37:05 +0100 Subject: [PATCH] fix wrong error message in ssh key import --- pkgs/sops-install-secrets/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/sops-install-secrets/main.go b/pkgs/sops-install-secrets/main.go index 0faff0e7..911fcb49 100644 --- a/pkgs/sops-install-secrets/main.go +++ b/pkgs/sops-install-secrets/main.go @@ -617,7 +617,6 @@ func importSSHKeys(logcfg loggingConfig, keyPaths []string, gpgHome string) erro continue } gpgKey, err := sshkeys.SSHPrivateKeyToPGP(sshKey) - fmt.Fprintf(os.Stderr, "Cannot write secring: %s\n", err) if err != nil { fmt.Fprintf(os.Stderr, "%s\n", err) continue