Skip to content

Commit caa2940

Browse files
Update scripts/automatic_tag.go
Co-authored-by: João Palet <joao.palet@outlook.com>
1 parent ea01fc2 commit caa2940

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/automatic_tag.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ func run() error {
9696

9797
// Prompts the user for the ssh key password.
9898
func promptForPassword() (string, error) {
99-
fmt.Println("Enter ssh key passphrase (empty for no passphrase):")
99+
fmt.Print("Enter SSH key passphrase (empty for no passphrase): ")
100+
defer fmt.Print("\n")
100101
bytePassword, err := term.ReadPassword(int(syscall.Stdin))
101102
if err != nil {
102103
return "", fmt.Errorf("read password: %w", err)

0 commit comments

Comments
 (0)