mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-31 14:50:34 +08:00
Fix debug message.
This commit is contained in:
parent
5f880ae022
commit
12b87ceebc
@ -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…
x
Reference in New Issue
Block a user