Raised debug level for "Retrying setpgid" message

This commit is contained in:
Mahmoud Al-Qudsi 2017-07-29 20:37:49 -05:00 committed by Kurtis Rader
parent 87db424e45
commit 711c81b8c8

View file

@ -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