Module: ngircd.git Branch: master Commit: 13a5358a3d9a439e2f6d70f7770d4b7673bfbbc1 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=13a53...
Author: Alexander Barton alex@barton.de Date: Tue Sep 24 00:04:54 2013 +0200
Log an error (not info) when working directory can't be changed
---
src/ngircd/ngircd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index d76b47d..5637cb2 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);
ngircd-commits@lists.barton.de