Date: Thu, 17 Jul 2008 09:48:11 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: [PATCH] Fix /usr/src/usr.sbin/pw/pwupd.c - pw_update() return success on failure Message-ID: <200807170948.12039.jhb@freebsd.org> In-Reply-To: <232537.6371.qm@web57008.mail.re3.yahoo.com> References: <232537.6371.qm@web57008.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807170948.12039.jhb>