fix wrong var

This commit is contained in:
bol-van
2025-02-26 01:11:07 +03:00
parent af89d03118
commit 8ac4fc0af5
3 changed files with 5 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ static bool test_list_files()
return false;
}
LIST_FOREACH(ifile, &params.ipsets, next)
if (hfile->filename && !file_open_test(ifile->filename, O_RDONLY))
if (ifile->filename && !file_open_test(ifile->filename, O_RDONLY))
{
DLOG_PERROR("file_open_test");
DLOG_ERR("cannot access ipset file '%s'\n",ifile->filename);