aboutsummaryrefslogtreecommitdiff
path: root/libbb/correct_password.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/correct_password.c')
-rw-r--r--libbb/correct_password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/correct_password.c b/libbb/correct_password.c
index a6f7d9b3d..cbe6cb387 100644
--- a/libbb/correct_password.c
+++ b/libbb/correct_password.c
@@ -106,7 +106,7 @@ int FAST_FUNC ask_and_check_password_extended(const struct passwd *pw,
106 if (!pw_pass[0]) /* empty password field? */ 106 if (!pw_pass[0]) /* empty password field? */
107 return CHECKPASS_PW_HAS_EMPTY_PASSWORD; 107 return CHECKPASS_PW_HAS_EMPTY_PASSWORD;
108 108
109 plaintext = bb_ask(STDIN_FILENO, timeout, prompt); 109 plaintext = bb_ask_noecho(STDIN_FILENO, timeout, prompt);
110 if (!plaintext) { 110 if (!plaintext) {
111 /* EOF (such as ^D) or error (such as ^C) or timeout */ 111 /* EOF (such as ^D) or error (such as ^C) or timeout */
112 return -1; 112 return -1;