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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user