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

From: John Baldwin <jhb_at_freebsd.org>
Date: Thu, 17 Jul 2008 09:48:11 -0400
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
Received on Thu Jul 17 2008 - 12:25:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC