1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-28 12:56:18 +00:00

Log "Can't read MOTD file" as "configuration error"

Now this error message is displayed in the console without debug prefix
when running the configuration test (--configtest).
This commit is contained in:
Alexander Barton 2011-01-18 23:44:07 +01:00
parent 8927700b22
commit b856a58051

View File

@ -668,7 +668,7 @@ Read_Motd(const char *filename)
fp = fopen(filename, "r"); fp = fopen(filename, "r");
if (!fp) { if (!fp) {
Log(LOG_WARNING, "Can't read MOTD file \"%s\": %s", Config_Error(LOG_WARNING, "Can't read MOTD file \"%s\": %s",
filename, strerror(errno)); filename, strerror(errno));
return; return;
} }