X-Git-Url: https://git.distorted.org.uk/~mdw/yaid/blobdiff_plain/c3794524deb80d18c5b3be72a7572b34fad409a1..02591975fddfa9b0cd823d2b1e0fa049e7dc890b:/policy.c diff --git a/policy.c b/policy.c index 06475f3..3d3eedb 100644 --- a/policy.c +++ b/policy.c @@ -249,6 +249,7 @@ static int parse_action(FILE *fp, struct action *act) m = 0; for (;;) { if ((t = parse_actname(fp, &a)) != 0) break; + if (a == A_USER) return (T_ERROR); m |= (1 << a); } if (t != T_EOL && t != T_EOF) return (t);