From: Adrian Spinu Date: Wed, 2 Feb 2011 13:57:52 +0000 (+0200) Subject: load-fragment: properly parse Nice= value X-Git-Tag: v18~61 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7115593375de5c84d44df9aafb011da4a1385569;p=systemd 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 ... --- 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; }