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:
parent
8927700b22
commit
b856a58051
|
@ -668,7 +668,7 @@ Read_Motd(const char *filename)
|
|||
|
||||
fp = fopen(filename, "r");
|
||||
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));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue