exec_pty.c: move foreground flag to struct exec_closure.

Also make pipeline flag private to exec_pty() and remove the unneeded
check_foreground() prototype.
This commit is contained in:
Todd C. Miller
2023-03-23 19:35:57 -06:00
parent 51cdb194b8
commit 3303dd98c0
2 changed files with 16 additions and 15 deletions

View File

@@ -80,6 +80,7 @@ struct exec_closure {
pid_t ppgrp;
short rows;
short cols;
bool foreground;
};
/*