summaryrefslogtreecommitdiffstats
path: root/patches/ppp-2.4.5/0031-resolv.conf_no_log.patch
blob: ceea048ccf54efe363ea9fb26952ca8b187e5989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Marco d'Itri <md@linux.it>
Date: Wed, 25 Jan 2012 19:14:27 +0100
Subject: [PATCH] resolv.conf_no_log

---
 pppd/ipcp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pppd/ipcp.c b/pppd/ipcp.c
index 8509c6a..d36078c 100644
--- a/pppd/ipcp.c
+++ b/pppd/ipcp.c
@@ -2119,7 +2119,7 @@ create_resolv(peerdns1, peerdns2)
 
     f = fopen(_PATH_RESOLV, "w");
     if (f == NULL) {
-	error("Failed to create %s: %m", _PATH_RESOLV);
+	/* error("Failed to create %s: %m", _PATH_RESOLV); */
 	return;
     }