mirror of
https://github.com/pinpox/pgp2ssh.git
synced 2025-07-05 11:55:14 +02:00
commit
7f0960e02a
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -43,7 +43,7 @@ func main() {
|
|||
log.Println("Enter path to private PGP key (default: ./priv.asc):")
|
||||
_, err := fmt.Scanf("%s", &keyfile)
|
||||
if err != nil && err.Error() == "unexpected newline" {
|
||||
keyfile := "./priv.asc"
|
||||
keyfile = "./priv.asc"
|
||||
} else if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue