Return -1, not 0 from sudoers when there is an error (as opposed to

a policy denial).
This commit is contained in:
Todd C. Miller
2015-06-25 11:12:36 -06:00
parent 81f94499bf
commit d3bc17a611
3 changed files with 43 additions and 26 deletions

View File

@@ -282,7 +282,7 @@ void dump_auth_methods(void);
char *sudo_getepw(const struct passwd *);
/* sudo_nss.c */
void display_privs(struct sudo_nss_list *, struct passwd *);
bool display_privs(struct sudo_nss_list *, struct passwd *);
bool display_cmnd(struct sudo_nss_list *, struct passwd *);
/* pwutil.c */