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

This commit is contained in:
Alexander Barton 2013-09-24 00:04:54 +02:00
parent 99db111bca
commit 13a5358a3d
1 changed files with 2 additions and 2 deletions

View File

@ -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);