mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-25 12:14:38 +00:00
Respect the --no-resolv flag in inotify code.
This commit is contained in:
1 parent
102208df69
commit
77607cbea0
3 files changed
+15
-1
No files matched your search
@@ -90,6 +90,9 @@ void inotify_dnsmasq_init()
|
||||
|
||||
if (daemon->inotifyfd == -1)
|
||||
die(_("failed to create inotify: %s"), NULL, EC_MISC);
|
||||
|
||||
if (option_bool(OPT_NO_RESOLV))
|
||||
return;
|
||||
|
||||
for (res = daemon->resolv_files; res; res = res->next)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user