From f0791b2c6e776d3573330d092cbbe3f1ce734d08 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 5 Oct 2004 05:15:59 +0000 Subject: when using nscd, getent might have to flush the tables to make sure the cache doesnt screw it up #66182 --- eclass/eutils.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 21e9bb94ec77..553cf3f1b639 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.112 2004/10/05 03:43:02 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.113 2004/10/05 05:15:59 vapier Exp $ # # Author: Martin Schlemmer # @@ -584,6 +584,7 @@ egetent() { fi pw show "${action}" "$2" -q else + which nscd >& /dev/null && nscd -i "$1" getent "$1" "$2" fi } -- cgit v1.2.3-65-gdbad