mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
passwd: fix indentation
This commit is contained in:
parent
db2b52425d
commit
16c2c700fd
@ -77,9 +77,8 @@ static char* new_password(const struct passwd *pw, uid_t myuid, int algo)
|
||||
if (!newp)
|
||||
goto err_ret;
|
||||
newp = xstrdup(newp); /* we are going to bb_askpass() again, so save it */
|
||||
if (obscure(orig, newp, pw) && myuid) {
|
||||
goto err_ret; /* non-root is not allowed to have weak passwd */
|
||||
}
|
||||
if (obscure(orig, newp, pw) && myuid)
|
||||
goto err_ret; /* non-root is not allowed to have weak passwd */
|
||||
|
||||
cp = bb_askpass(0, "Retype password:");
|
||||
if (!cp)
|
||||
|
Loading…
Reference in New Issue
Block a user