Commit 8c02c6d1 authored by David Redondo's avatar David Redondo 🏎
Browse files

Fix build on FreeBSD

I missed this return
GIT_SILENT
parent 0ed84fe6
......@@ -223,7 +223,7 @@ Processes::Error ProcessesLocal::setScheduler(long pid, int priorityClass, int p
{
if(priorityClass == KSysGuard::Process::Other || priorityClass == KSysGuard::Process::Batch)
priority = 0;
if(pid <= 0) return false; // check the parameters
if(pid <= 0) return Processes::InvalidPid; // check the parameters
struct sched_param params;
params.sched_priority = priority;
bool success = false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment