diff options
author | jkh <jkh@FreeBSD.org> | 1997-02-14 02:55:25 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-02-14 02:55:25 +0000 |
commit | 06954db53d3d07627ae36fe0a91066a912930483 (patch) | |
tree | 6c2bde37b8042fa092d77263b027966a0af60b82 /usr.sbin/sade/config.c | |
parent | 5bdbe29aefeccac2e286c9c2956e0ebcd769145a (diff) | |
download | FreeBSD-src-06954db53d3d07627ae36fe0a91066a912930483.zip FreeBSD-src-06954db53d3d07627ae36fe0a91066a912930483.tar.gz |
It's not an error to call configResolv() early.
Diffstat (limited to 'usr.sbin/sade/config.c')
-rw-r--r-- | usr.sbin/sade/config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 2e1a1cd..3198596 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -437,10 +437,8 @@ configResolv(void) if (!cp || !*cp) goto skip; fp = fopen("/etc/resolv.conf", "w"); - if (!fp) { - msgConfirm("Unable to open /etc/resolv.conf! You will need to do this manually."); + if (!fp) return; - } if (variable_get(VAR_DOMAINNAME)) fprintf(fp, "domain\t%s\n", variable_get(VAR_DOMAINNAME)); fprintf(fp, "nameserver\t%s\n", cp); |