fix jobctl /dev/tty stuff

This commit is contained in:
Matheus
2024-05-22 19:23:37 -03:00
parent a493fcb63d
commit 71a38176d1
2 changed files with 8 additions and 5 deletions
-1
View File
@@ -35,7 +35,6 @@ static void removefromlist(proc_t *pgrp, proc_t *proc) {
void jobctl_setctty(proc_t *proc, void *_ctty) {
tty_t *tty = _ctty;
__assert(tty);
bool intstatus = interrupt_set(false);
spinlock_acquire(&proc->jobctllock);