mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 21:19:53 -05:00
Fix debug message.
This commit is contained in:
parent
5f880ae022
commit
12b87ceebc
1 changed files with 2 additions and 2 deletions
|
|
@ -121,13 +121,13 @@ slap_init_user( char *user, char *group )
|
|||
|
||||
if ( uid > 0 ) {
|
||||
if ( setuid( uid ) != 0 ) {
|
||||
Debug( LDAP_DEBUG_ANY, "Could not set effective user id to %d\n",
|
||||
Debug( LDAP_DEBUG_ANY, "Could not set real user id to %d\n",
|
||||
uid, 0, 0 );
|
||||
exit( 1 );
|
||||
}
|
||||
#ifdef HAVE_SETEUID
|
||||
if ( seteuid( uid ) != 0 ) {
|
||||
Debug( LDAP_DEBUG_ANY, "Could not set real user id to %d\n",
|
||||
Debug( LDAP_DEBUG_ANY, "Could not set effective user id to %d\n",
|
||||
uid, 0, 0 );
|
||||
exit( 1 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue