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

From: Unga <unga888_at_yahoo.com>
Date: Sun, 6 Jul 2008 21:03:23 -0700 (PDT)
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.

Kind regards
Unga


      
Received on Mon Jul 07 2008 - 02:30:06 UTC

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