aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/conf.c b/conf.c
index 7a271ff..925b94d 100644
--- a/conf.c
+++ b/conf.c
@@ -322,7 +322,7 @@ out:
*
* Return: 0 on success, negative error code if the file can't be opened
*
- * #syscalls:pasta openat
+ * #syscalls openat
*/
static int conf_resolv_update(struct ctx *c)
{
@@ -413,9 +413,6 @@ void conf_resolv_watch(struct ctx *c)
char dir[PATH_MAX], *base;
int fd = -1, dir_fd, rc;
- if (c->mode != MODE_PASTA)
- return;
-
if (IN4_IS_ADDR_UNSPECIFIED(&c->ip4.dns_match))
c->ip4.dns_host_resolv = false;
if (IN6_IS_ADDR_UNSPECIFIED(&c->ip6.dns_match))