summary refs log tree commit diff
path: root/parse.y
diff options
context:
space:
mode:
authorokan <okan>2011-08-22 16:18:05 +0000
committerokan <okan>2011-08-22 16:18:05 +0000
commit2dc8df110c738f4bcbe300a5ec1dec1f555765e7 (patch)
tree1479187bbc52445e49d795f95ecfe3f1712cc6d2 /parse.y
parent912dd46a7e5aac20c685fcb424a484a44bb9c713 (diff)
downloadcwm-2dc8df110c738f4bcbe300a5ec1dec1f555765e7.tar.gz
cwm-2dc8df110c738f4bcbe300a5ec1dec1f555765e7.tar.xz
cwm-2dc8df110c738f4bcbe300a5ec1dec1f555765e7.zip
revert r1.11 of parse.y and create logic in conf_setup instead to deal
with the various scenarios of when to attempt a parse of the config,
load defaults, and when to warn and/or exit.  triggered by bogus warning
first noticed by sobrado@.

ok oga@
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index a31a6c2..1b55f08 100644
--- a/parse.y
+++ b/parse.y
@@ -462,8 +462,6 @@ pushfile(const char *name)
 	nfile->name = xstrdup(name);
 
 	if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
-		if (errno != ENOENT)
-			warn("%s", nfile->name);
 		free(nfile->name);
 		free(nfile);
 		return (NULL);