From owner-cvs-src@FreeBSD.ORG Thu Jul 17 13:48:07 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEAC1106574F; Thu, 17 Jul 2008 13:48:04 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 860A88FC17; Thu, 17 Jul 2008 13:48:04 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m6HDm4Km060854; Thu, 17 Jul 2008 13:48:04 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6HDm484060853; Thu, 17 Jul 2008 13:48:04 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200807171348.m6HDm484060853@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 17 Jul 2008 13:47:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/pw pwupd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 13:48:07 -0000 jhb 2008-07-17 13:47:59 UTC FreeBSD src repository Modified files: usr.sbin/pw pwupd.c Log: SVN rev 180565 on 2008-07-17 13:47:59Z by jhb Before updating the password database, the pw(8) utility first performs a sanity check by invoking "pwd_mkdb -C". However, if this failed it silently returned success. Fix this so it fails the update operation instead. MFC after: 1 week Revision Changes Path 1.21 +2 -1 src/usr.sbin/pw/pwupd.c