From 674a8f811ef49773106efcaf04ccc01e13d54344 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Fri, 7 Jul 2000 19:19:09 +0000 Subject: [PATCH] Don't die when lwres_conf_parse() returns failure. --- bin/nsupdate/nsupdate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index fa8f0f2954..2a6ce38d48 100644 --- a/bin/nsupdate/nsupdate.c +++ b/bin/nsupdate/nsupdate.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: nsupdate.c,v 1.26 2000/07/06 19:29:40 bwelling Exp $ */ +/* $Id: nsupdate.c,v 1.27 2000/07/07 19:19:09 bwelling Exp $ */ #include @@ -379,7 +379,8 @@ setup_system(void) { lwresult = lwres_conf_parse(lwctx, RESOLV_CONF); if (lwresult != LWRES_R_SUCCESS) - fatal("lwres_conf_parse failed"); + fprintf(stderr, + "An error was encountered in /etc/resolv.conf\n"); lwconf = lwres_conf_get(lwctx);