diff options
-rw-r--r-- | libbb/correct_password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/correct_password.c b/libbb/correct_password.c index d02d0d6a0..d39a5839c 100644 --- a/libbb/correct_password.c +++ b/libbb/correct_password.c | |||
@@ -70,7 +70,7 @@ int FAST_FUNC ask_and_check_password_extended(const struct passwd *pw, | |||
70 | fake_it: | 70 | fake_it: |
71 | unencrypted = bb_ask(STDIN_FILENO, timeout, prompt); | 71 | unencrypted = bb_ask(STDIN_FILENO, timeout, prompt); |
72 | if (!unencrypted) { | 72 | if (!unencrypted) { |
73 | /* EOF (such as ^D) or error (such as ^C) */ | 73 | /* EOF (such as ^D) or error (such as ^C) or timeout */ |
74 | return -1; | 74 | return -1; |
75 | } | 75 | } |
76 | encrypted = pw_encrypt(unencrypted, correct, 1); | 76 | encrypted = pw_encrypt(unencrypted, correct, 1); |