Change how we handle the sudoedit argv. We now require that there
be a "--" in argv to separate the editor and any command line arguments from the files to be edited.
This commit is contained in:
@@ -192,8 +192,7 @@ extern int debug_level;
|
||||
extern struct plugin_container_list io_plugins;
|
||||
|
||||
/* sudo_edit.c */
|
||||
int sudo_edit(struct command_details *details, char *argv[], char *files[],
|
||||
char *envp[]);
|
||||
int sudo_edit(struct command_details *details, char *argv[], char *envp[]);
|
||||
|
||||
/* parse_args.c */
|
||||
void usage(int) __attribute__((__noreturn__));
|
||||
|
Reference in New Issue
Block a user