Extra logging for inotify code.

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

View File

@@ -1022,11 +1022,10 @@ int read_hostsfile(char *filename, unsigned int index, int cache_size, struct cr
fclose(f);
if (rhash)
{
rehash(name_count);
my_syslog(LOG_INFO, _("read %s - %d addresses"), filename, addr_count);
}
rehash(name_count);
my_syslog(LOG_INFO, _("read %s - %d addresses"), filename, addr_count);
return name_count;
}