From 7115593375de5c84d44df9aafb011da4a1385569 Mon Sep 17 00:00:00 2001 From: Adrian Spinu Date: Wed, 2 Feb 2011 15:57:52 +0200 Subject: [PATCH] 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 ... --- src/load-fragment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/load-fragment.c b/src/load-fragment.c index acceb9b5..fc64ddd5 100644 --- a/src/load-fragment.c +++ b/src/load-fragment.c @@ -306,7 +306,7 @@ static int config_parse_nice( } c->nice = priority; - c->nice_set = false; + c->nice_set = true; return 0; } -- 2.39.5