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

@@ -94,7 +94,7 @@
struct plugin_container policy_plugin;
struct plugin_container_list io_plugins;
struct user_details user_details;
const char *list_user, *runas_user, *runas_group; /* extern for parse_args.c */
const char *list_user; /* extern for parse_args.c */
static struct command_details command_details;
static int sudo_mode;