diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-11-11 00:27:27 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-11-11 00:27:27 +0000 |
commit | 666ab3a9327716ede71ea2164bcf258780872777 (patch) | |
tree | 8e97d29d8eb92d8526539f15c97d894bbecdb43f /gnu/usr.bin | |
parent | bbfc0f709ae5d0256f1882401edf9dc216e6570e (diff) |
Fix User_Alias's in the runas list. Kind of kludgy, a better fix
will be in 1.5.3.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/sudo/sudo/parse.yacc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/sudo/sudo/parse.yacc b/gnu/usr.bin/sudo/sudo/parse.yacc index 4508a99a411..12054fcdf2d 100644 --- a/gnu/usr.bin/sudo/sudo/parse.yacc +++ b/gnu/usr.bin/sudo/sudo/parse.yacc @@ -27,7 +27,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: parse.yacc,v 1.1 1996/10/14 05:14:52 millert Exp $"; +static char rcsid[] = "$Id: parse.yacc,v 1.2 1996/11/11 00:27:26 millert Exp $"; #endif /* lint */ #include "config.h" @@ -509,7 +509,7 @@ useraliases : useralias ; useralias : ALIAS { push; } '=' userlist { - if (user_matches == TRUE && !add_alias($1, USER)) + if (!add_alias($1, USER)) YYERROR; pop; (void) free($1); |