1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-03-05 08:07:16 +00:00

fix wrong error message in ssh key import

This commit is contained in:
Jörg Thalheim 2024-01-10 18:37:05 +01:00 committed by Jörg Thalheim
parent 020dcff707
commit c0b3a5af90

View file

@ -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