mirror of
https://github.com/osmarks/ngircd.git
synced 2025-07-04 10:52:50 +00:00
Use "ServerUID" (and not internal variable name) for error message. [HEAD]
This commit is contained in:
parent
8d1fe3b89a
commit
fc038ae444
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#include "portab.h"
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: ngircd.c,v 1.102 2005/06/24 19:55:10 alex Exp $";
|
static char UNUSED id[] = "$Id: ngircd.c,v 1.102.2.1 2005/07/08 21:05:19 alex Exp $";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
@ -713,7 +713,7 @@ NGIRCd_Init( bool NGIRCd_NoDaemon )
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( Conf_UID == 0 ) {
|
if ( Conf_UID == 0 ) {
|
||||||
Log( LOG_INFO, "Conf_UID must not be 0, switching to user nobody", Conf_UID );
|
Log( LOG_INFO, "ServerUID must not be 0, switching to user nobody", Conf_UID );
|
||||||
|
|
||||||
if (!NGIRCd_getNobodyID(&Conf_UID, &Conf_GID )) {
|
if (!NGIRCd_getNobodyID(&Conf_UID, &Conf_GID )) {
|
||||||
Log( LOG_WARNING, "Could not get uid/gid of user nobody: %s",
|
Log( LOG_WARNING, "Could not get uid/gid of user nobody: %s",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user