svn commit: trunk/busybox/loginutils
vda at busybox.net
vda at busybox.net
Tue Dec 12 10:11:59 PST 2006
Author: vda
Date: 2006-12-12 10:11:58 -0800 (Tue, 12 Dec 2006)
New Revision: 16856
Log:
passwd: fix indentation
Modified:
trunk/busybox/loginutils/passwd.c
Changeset:
Modified: trunk/busybox/loginutils/passwd.c
===================================================================
--- trunk/busybox/loginutils/passwd.c 2006-12-12 17:14:56 UTC (rev 16855)
+++ trunk/busybox/loginutils/passwd.c 2006-12-12 18:11:58 UTC (rev 16856)
@@ -77,9 +77,8 @@
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)
More information about the busybox-cvs
mailing list