mirror of
https://github.com/osmarks/ngircd.git
synced 2024-10-28 04:46:17 +00:00
Log an error (not info) when working directory can't be changed
This commit is contained in:
parent
99db111bca
commit
13a5358a3d
@ -817,8 +817,8 @@ NGIRCd_Init(bool NGIRCd_NoDaemon)
|
|||||||
"Changed working directory to \"%s\" ...",
|
"Changed working directory to \"%s\" ...",
|
||||||
pwd->pw_dir);
|
pwd->pw_dir);
|
||||||
else
|
else
|
||||||
Log(LOG_INFO,
|
Log(LOG_ERR,
|
||||||
"Notice: Can't change working directory to \"%s\": %s!",
|
"Can't change working directory to \"%s\": %s!",
|
||||||
pwd->pw_dir, strerror(errno));
|
pwd->pw_dir, strerror(errno));
|
||||||
} else
|
} else
|
||||||
Log(LOG_ERR, "Can't get user informaton for UID %d!?", Conf_UID);
|
Log(LOG_ERR, "Can't get user informaton for UID %d!?", Conf_UID);
|
||||||
|
Loading…
Reference in New Issue
Block a user