mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
jobctl/tty: foreground/background and send sighup on unregister
This commit is contained in:
@@ -96,7 +96,6 @@ static int close(int minor, int flags) {
|
||||
if (pty == NULL)
|
||||
return ENODEV;
|
||||
|
||||
// TODO do tty cleanup stuff like sending sighup
|
||||
bool intstatus = interrupt_set(false);
|
||||
spinlock_acquire(&pty->lock);
|
||||
pty->hangup = true;
|
||||
|
||||
Reference in New Issue
Block a user