From 13ba1797013b07b0f46af71f3ae03289bf34249b Mon Sep 17 00:00:00 2001 From: Sveinung Kvilhaugsvik Date: Mon, 22 Feb 2021 22:50:48 +0100 Subject: [PATCH] Log the problem with the comments file. Give a hint why the ruledit ruleset comment file can't be loaded. See osdn #41632 --- tools/ruleutil/comments.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ruleutil/comments.c b/tools/ruleutil/comments.c index db7866784f..fb327dc6ae 100644 --- a/tools/ruleutil/comments.c +++ b/tools/ruleutil/comments.c @@ -62,11 +62,13 @@ bool comments_load(void) fullpath = fileinfoname(get_data_dirs(), "ruledit/" COMMENTS_FILE_NAME); if (fullpath == NULL) { + log_normal("Can't find the comments file"); return FALSE; } comment_file = secfile_load(fullpath, FALSE); if (comment_file == NULL) { + log_normal("Can't parse the comments file"); return FALSE; } -- 2.20.1