Revert "Raised debug level for "Retrying setpgid" message"

This reverts commit 711c81b8c8bf5d2dcfffe5add8ca5ab39382bf8a.
It was meant for the major branch.
This commit is contained in:
Kurtis Rader 2017-08-13 15:24:44 -07:00
parent 6fe0cb1941
commit 5c0311653e

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(4, "Retrying setpgid in child process"); debug_safe(1, "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