about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2005-08-25 08:48:43 +0000
committerAlexander Barton <alex@barton.de>2005-08-25 08:48:43 +0000
commitac96fe5877745791e42a9b5177462d670478c52f (patch)
treea77614e803a58c2f92f1c7b8ecae0a6f0b7f1d13 /src
parenta6d1d26a435a29f8a12dfb112bad95ff2d62fa57 (diff)
downloadngircd-ac96fe5877745791e42a9b5177462d670478c52f.tar.gz
ngircd-ac96fe5877745791e42a9b5177462d670478c52f.zip
Changed log level of "Initialization failed" message from ERR to ALERT.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/ngircd.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c
index 20a35dbb..c5c51965 100644
--- a/src/ngircd/ngircd.c
+++ b/src/ngircd/ngircd.c
@@ -12,7 +12,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: ngircd.c,v 1.108 2005/07/31 20:13:08 alex Exp $";
+static char UNUSED id[] = "$Id: ngircd.c,v 1.109 2005/08/25 08:48:43 alex Exp $";
 
 /**
  * @file
@@ -262,8 +262,10 @@ main( int argc, const char *argv[] )
 		Log_Init( ! NGIRCd_NoDaemon );
 		Conf_Init( );
 
-		if (!NGIRCd_Init( NGIRCd_NoDaemon )) {
-			Log(LOG_WARNING, "Fatal: Initialization failed");
+		/* Initialize the "main program": chroot environment, user and
+		 * group ID, ... */
+		if (!NGIRCd_Init(NGIRCd_NoDaemon)) {
+			Log(LOG_ALERT, "Fatal: Initialization failed");
 			exit(1);
 		}