]> git.armaanb.net Git - opendoas.git/commitdiff
Add back the call to yyparse() that was accidentally dropped in the previous commit...
authortb <tb>
Wed, 5 Oct 2016 23:28:28 +0000 (23:28 +0000)
committerDuncaen <mail@duncano.de>
Mon, 11 Dec 2017 15:28:56 +0000 (16:28 +0100)
ok tedu

doas.c

diff --git a/doas.c b/doas.c
index a4686eff792593851d065e8209a219bb32350f62..0a23595352a1a2a27e88e3b128f2dac3bc74e157 100644 (file)
--- a/doas.c
+++ b/doas.c
@@ -177,6 +177,7 @@ parseconfig(const char *filename, int checkperms)
                        errx(1, "%s is not owned by root", filename);
        }
 
+       yyparse();
        fclose(yyfp);
        if (parse_errors)
                exit(1);