← Commit list

16c2c700f

Denis Vlasenko
Denis Vlasenko
2006-12-12
FAILED Duration: 4s

Subject

passwd: fix indentation

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

loginutils/passwd.c+2 -3
@@ -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)