Skip to content

Commit

Permalink
fix wrong error message in ssh key import
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jan 10, 2024
1 parent 020dcff commit c0b3a5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkgs/sops-install-secrets/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0b3a5a

Please sign in to comment.