From owner-cvs-all@FreeBSD.ORG Thu Dec 13 01:20:10 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 726FA16A41B for ; Thu, 13 Dec 2007 01:20:10 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 18C6813C465 for ; Thu, 13 Dec 2007 01:20:09 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 20717 invoked by uid 399); 13 Dec 2007 01:20:08 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 13 Dec 2007 01:20:08 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <476088C3.9090207@FreeBSD.org> Date: Wed, 12 Dec 2007 17:20:03 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: John Baldwin References: <200712130051.lBD0p1ZY011259@repoman.freebsd.org> In-Reply-To: <200712130051.lBD0p1ZY011259@repoman.freebsd.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d ldconfig X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 01:20:10 -0000 John Baldwin wrote: > jhb 2007-12-13 00:51:01 UTC > > FreeBSD src repository > > Modified files: > etc/rc.d ldconfig > Log: > Only pass paths to directories or config files that exist for ldconfig for > 32-bit binaries. > > MFC after: 3 days > > Revision Changes Path > 1.19 +8 -2 src/etc/rc.d/ldconfig > > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/etc/rc.d/ldconfig.diff?&r1=1.18&r2=1.19&f=h > I'm not saying this is a bad idea, but doesn't ldconfig ignore stuff that doesn't exist? As for the test, I think you might want -x instead of -r. Doug -- This .signature sanitized for your protection