[PATCH] Fix /usr/src/usr.sbin/pw/pwupd.c - pw_update() return success on failure

John Baldwin jhb at freebsd.org
Thu Jul 17 14:25:28 UTC 2008


On Monday 07 July 2008 12:03:23 am Unga wrote:
> Hi all
> 
> In the present implementation even if the pwdb() fails, pw_update() still 
return rc=0, therefore, subsequent functions still continue to proceed 
without passwd and master.passwd been updated. The attached patch fixes this 
issue. If this patch is acceptable, appreciate if it could be applied to both 
current and RELENG_7.

Fix committed to HEAD, thanks!

-- 
John Baldwin


More information about the freebsd-current mailing list