load-fragment: properly parse Nice= value
Hello,
i`ve been using systemd for a while now, and found out that when
using NICE parameter for .service files the varible is not set correctly.
i`ve found the problem in file *load-fragment.c* function
*config_parse_nice* variable /*c->nice_set = false;*/ should be
/*c->nice_set = true;*/
Problem is alsom manifesting on v17 but did not upgrade yet ...
This commit is contained in:
committed by
Lennart Poettering
parent
5d909e3ec3
commit
7115593375
+1
-1
@@ -306,7 +306,7 @@ static int config_parse_nice(
|
||||
}
|
||||
|
||||
c->nice = priority;
|
||||
c->nice_set = false;
|
||||
c->nice_set = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user