Make sudoedit_checkdir the default and update the documentation accordingly.
This commit is contained in:
@@ -586,6 +586,7 @@ command_info_to_details(char * const info[], struct command_details *details)
|
||||
memset(details, 0, sizeof(*details));
|
||||
details->closefrom = -1;
|
||||
details->execfd = -1;
|
||||
details->flags = CD_SUDOEDIT_CHECKDIR;
|
||||
TAILQ_INIT(&details->preserved_fds);
|
||||
|
||||
#define SET_STRING(s, n) \
|
||||
|
Reference in New Issue
Block a user