about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/http/tengine/check-resolv-conf.patch
blob: c46482b301490e2a4a2b642e0ddb19ba3e7d49a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/auto/unix b/auto/unix
index a38c12dc..025a4899 100644
--- a/auto/unix
+++ b/auto/unix
@@ -1072,9 +1072,7 @@ ngx_feature_test='int fd;
 
 
 # Auto read nameserver from /etc/resolv.conf.
- if [ -f "/etc/resolv.conf" ]; then
     have=NGX_RESOLVER_FILE
     value=\"/etc/resolv.conf\"
     . auto/define
-fi