mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
(nscd_init): Remove if block which should have been removed as part of the -S option removal.
This commit is contained in:
parent
5e1f32525a
commit
6cac69275f
@ -1,5 +1,5 @@
|
|||||||
/* Inner loops of cache daemon.
|
/* Inner loops of cache daemon.
|
||||||
Copyright (C) 1998-2003, 2004, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1998-2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
||||||
|
|
||||||
@ -430,13 +430,6 @@ fail:
|
|||||||
void
|
void
|
||||||
nscd_init (void)
|
nscd_init (void)
|
||||||
{
|
{
|
||||||
/* Secure mode and unprivileged mode are incompatible */
|
|
||||||
if (server_user != NULL)
|
|
||||||
{
|
|
||||||
dbg_log (_("Cannot run nscd in secure mode as unprivileged user"));
|
|
||||||
exit (4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Look up unprivileged uid/gid/groups before we start listening on the
|
/* Look up unprivileged uid/gid/groups before we start listening on the
|
||||||
socket */
|
socket */
|
||||||
if (server_user != NULL)
|
if (server_user != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user