Extra logging for inotify code.

This commit is contained in:
Simon Kelley committed 2015-02-03 21:52:48 +00:00
1 parent 2941d3ac89
commit f9c863708c
3 files changed
+10 -7

No files matched your search

+3 -1
View File
@@ -192,7 +192,9 @@ int inotify_check(time_t now)
strcpy(path, ah->fname);
strcat(path, "/");
strcat(path, in->name);
my_syslog(LOG_INFO, _("inotify, new or changed file %s"), path);
if (ah->flags & AH_HOSTS)
{
read_hostsfile(path, ah->index, 0, NULL, 0);