|
@@ -1428,6 +1428,12 @@ options_act(or_options_t *old_options)
|
|
|
if (options->DirPortFrontPage) {
|
|
|
global_dirfrontpagecontents =
|
|
|
read_file_to_str(options->DirPortFrontPage, 0, NULL);
|
|
|
+ if (!global_dirfrontpagecontents)
|
|
|
+ {
|
|
|
+ log_warn(LD_CONFIG,
|
|
|
+ "DirPortFrontPage file '%s' not found. Continuing anyway.",
|
|
|
+ options->DirPortFrontPage);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return 0;
|