summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-11-11 15:34:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-11-11 15:34:41 +0000
commit20238d243bc16c201aa57ca4b2dd476f790f450f (patch)
treee74339a74c270326a80e51a0e8167de444c8f92a /gnu
parentdf9e23bb0f41e31a09ce672c19b06cd7e23d3e92 (diff)
Back out last change.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/sudo/sudo/parse.yacc4
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 12054fcdf2d..d4eae696d3a 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.2 1996/11/11 00:27:26 millert Exp $";
+static char rcsid[] = "$Id: parse.yacc,v 1.3 1996/11/11 15:34:40 millert Exp $";
#endif /* lint */
#include "config.h"
@@ -509,7 +509,7 @@ useraliases : useralias
;
useralias : ALIAS { push; } '=' userlist {
- if (!add_alias($1, USER))
+ if (user_matches == TRUE && !add_alias($1, USER))
YYERROR;
pop;
(void) free($1);