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)
|
if (!newp)
|
||||||
goto err_ret;
|
goto err_ret;
|
||||||
newp = xstrdup(newp); /* we are going to bb_askpass() again, so save it */
|
newp = xstrdup(newp); /* we are going to bb_askpass() again, so save it */
|
||||||
if (obscure(orig, newp, pw) && myuid) {
|
if (obscure(orig, newp, pw) && myuid)
|
||||||
goto err_ret; /* non-root is not allowed to have weak passwd */
|
goto err_ret; /* non-root is not allowed to have weak passwd */
|
||||||
}
|
|
||||||
|
|
||||||
cp = bb_askpass(0, "Retype password:");
|
cp = bb_askpass(0, "Retype password:");
|
||||||
if (!cp)
|
if (!cp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user