summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ifstated/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ifstated/parse.y b/usr.sbin/ifstated/parse.y
index ce11264f93f..81db6ad5d1b 100644
--- a/usr.sbin/ifstated/parse.y
+++ b/usr.sbin/ifstated/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.12 2006/03/16 06:17:42 mcbride Exp $ */
+/* $OpenBSD: parse.y,v 1.13 2006/03/16 06:27:02 mcbride Exp $ */
/*
* Copyright (c) 2004 Ryan McBride <mcbride@openbsd.org>
@@ -675,6 +675,7 @@ parse_config(char *filename, int opts)
if (errors) {
clear_config(conf);
+ errors = 0;
return (NULL);
}