projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libarchive: open_zipped() does not need to check extensions for e.g. gzip
[oweals/busybox.git]
/
loginutils
/
vlock.c
diff --git
a/loginutils/vlock.c
b/loginutils/vlock.c
index 75af9390e18a4d1eb46f00cb65e34e23369c8b7a..44b14e6bc460387c0e6ec23ed7714808e6934c3a 100644
(file)
--- a/
loginutils/vlock.c
+++ b/
loginutils/vlock.c
@@
-104,7
+104,7
@@
int vlock_main(int argc UNUSED_PARAM, char **argv)
/* "s" if -a, else "": */ "s" + !option_mask32,
pw->pw_name
);
- if (
correct_password(pw)
) {
+ if (
ask_and_check_password(pw) > 0
) {
break;
}
bb_do_delay(LOGIN_FAIL_DELAY);