Process: Remove log message from child process

This commit is contained in:
Noah Hilverling 2017-10-23 11:01:16 +02:00
parent 20e8fe5ed3
commit 7930ae5094
1 changed files with 2 additions and 2 deletions

View File

@ -164,8 +164,8 @@ static Value ProcessSpawnImpl(struct msghdr *msgh, const Dictionary::Ptr& reques
(void)close(fds[2]);
#ifdef HAVE_NICE
if (adjustPriority && nice(5) < 0)
Log(LogWarning, "base", "Failed to renice child process.");
if (adjustPriority)
nice(5);
#endif /* HAVE_NICE */
sigset_t mask;