summaryrefslogtreecommitdiff
path: root/internal/readpassword
diff options
context:
space:
mode:
Diffstat (limited to 'internal/readpassword')
-rw-r--r--internal/readpassword/read.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/readpassword/read.go b/internal/readpassword/read.go
index 058735d..481911b 100644
--- a/internal/readpassword/read.go
+++ b/internal/readpassword/read.go
@@ -65,7 +65,7 @@ func readPasswordTerminal(prompt string) string {
fmt.Fprintf(os.Stderr, "\n")
if len(p) == 0 {
tlog.Fatal.Println("Password is empty")
- os.Exit(exitcodes.ReadPassword)
+ os.Exit(exitcodes.PasswordEmpty)
}
return string(p)
}