Rename log_children -> log_subcmds

This commit is contained in:
Todd C. Miller
2021-08-26 16:36:41 -06:00
parent d8d4023335
commit ba171724f7
13 changed files with 76 additions and 76 deletions

View File

@@ -369,7 +369,7 @@ exec_nopty(struct command_details *details, struct command_status *cstat)
* Allocate a socketpair for communicating with sudo_intercept.so.
* This must be inherited across exec, hence no FD_CLOEXEC.
*/
if (ISSET(details->flags, CD_INTERCEPT|CD_LOG_CHILDREN)) {
if (ISSET(details->flags, CD_INTERCEPT|CD_LOG_SUBCMDS)) {
if (socketpair(PF_UNIX, SOCK_STREAM, 0, intercept_sv) == -1)
sudo_fatal("%s", U_("unable to create sockets"));
}