summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2016-10-05 23:28:29 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2016-10-05 23:28:29 +0000
commite88318adbdddecb26468f4bc33ddab56ea8453e4 (patch)
tree9a0155671840d689cc3ae985a59d2aed9790ca98 /usr.bin
parentd61f3d4e7d9143c4d3edd268978195aa041f81e4 (diff)
Add back the call to yyparse() that was accidentally dropped in the
previous commit. Fortunately, doas fails closed... ok tedu
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/doas/doas.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/doas/doas.c b/usr.bin/doas/doas.c
index b69fcc54944..7314772494d 100644
--- a/usr.bin/doas/doas.c
+++ b/usr.bin/doas/doas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: doas.c,v 1.67 2016/10/05 17:40:25 tedu Exp $ */
+/* $OpenBSD: doas.c,v 1.68 2016/10/05 23:28:28 tb Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -166,6 +166,7 @@ parseconfig(const char *filename, int checkperms)
errx(1, "%s is not owned by root", filename);
}
+ yyparse();
fclose(yyfp);
if (parse_errors)
exit(1);