Do not error out if arg to -U option cannot be resolved, that is for

the plugin to decide.
There is no need for runas_user and runas_group to be global, make
them local to parse_args() instead.
This commit is contained in:
Todd C. Miller
2013-07-16 14:04:23 -06:00
parent e53e80187d
commit b4e1f7c446
3 changed files with 4 additions and 4 deletions

View File

@@ -214,7 +214,7 @@ bool exec_setup(struct command_details *details, const char *ptyname, int ptyfd)
int policy_init_session(struct command_details *details);
int run_command(struct command_details *details);
int os_init_common(int argc, char *argv[], char *envp[]);
extern const char *list_user, *runas_user, *runas_group;
extern const char *list_user;
extern struct user_details user_details;
/* sudo_edit.c */