repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 13a5358a3d9a439e2f6d70f7770d4b7673bfbbc1:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 13a5358a3d9a439e2f6d70f7770d4b7673bfbbc1
Author: Alexander Barton 
Date:   Tue Sep 24 00:04:54 2013 +0200

    Log an error (not info) when working directory can't be changed

diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c
index d76b47d4ba86dbf3969dfbae1544701c0e4d9608..
index ..5637cb2578666c91ef0a9945231fc2b74686d97c 100644
--- a/src/ngircd/ngircd.c
+++ b/src/ngircd/ngircd.c
@@ -817,8 +817,8 @@ NGIRCd_Init(bool NGIRCd_NoDaemon)
 			    "Changed working directory to \"%s\" ...",
 			    pwd->pw_dir);
 		else
-			Log(LOG_INFO,
-			    "Notice: Can't change working directory to \"%s\": %s!",
+			Log(LOG_ERR,
+			    "Can't change working directory to \"%s\": %s!",
 			    pwd->pw_dir, strerror(errno));
 	} else
 		Log(LOG_ERR, "Can't get user informaton for UID %d!?", Conf_UID);

-----END OF PAGE-----