Pass back the number of files to edit when using sudoedit.
The sudo front-end can use this to determine where the list of files to edit begins.
This commit is contained in:
@@ -433,6 +433,7 @@ extern struct sudo_user sudo_user;
|
||||
extern struct passwd *list_pw;
|
||||
extern bool force_umask;
|
||||
extern int sudo_mode;
|
||||
extern int sudoedit_nfiles;
|
||||
extern uid_t timestamp_uid;
|
||||
extern gid_t timestamp_gid;
|
||||
extern sudo_conv_t sudo_conv;
|
||||
|
Reference in New Issue
Block a user