[systemd-commits] src/load-fragment.c
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Feb 3 12:24:34 PST 2011
src/load-fragment.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7115593375de5c84d44df9aafb011da4a1385569
Author: Adrian Spinu <adrian.spinu at windriver.com>
Date: Wed Feb 2 15:57:52 2011 +0200
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 acceb9b..fc64ddd 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;
}
More information about the systemd-commits
mailing list