mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 08:51:53 +08:00
Raised debug level for "Retrying setpgid" message
This commit is contained in:
parent
87db424e45
commit
711c81b8c8
@ -83,7 +83,7 @@ bool child_set_group(job_t *j, process_t *p) {
|
|||||||
//times to get the kernel to see the new group. (Linux 4.4.0)
|
//times to get the kernel to see the new group. (Linux 4.4.0)
|
||||||
int failure = setpgid(p->pid, j->pgid);
|
int failure = setpgid(p->pid, j->pgid);
|
||||||
while (failure == -1 && (errno == EPERM || errno == EINTR)) {
|
while (failure == -1 && (errno == EPERM || errno == EINTR)) {
|
||||||
debug_safe(1, "Retrying setpgid in child process");
|
debug_safe(4, "Retrying setpgid in child process");
|
||||||
failure = setpgid(p->pid, j->pgid);
|
failure = setpgid(p->pid, j->pgid);
|
||||||
}
|
}
|
||||||
// TODO: Figure out why we're testing whether the pgid is correct after attempting to
|
// TODO: Figure out why we're testing whether the pgid is correct after attempting to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user