summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
diff options
context:
space:
mode:
authorAdrian Spinu <adrian.spinu@windriver.com>2011-02-02 15:57:52 +0200
committerLennart Poettering <lennart@poettering.net>2011-02-03 21:23:32 +0100
commit7115593375de5c84d44df9aafb011da4a1385569 (patch)
tree8d49b55eb328fadcf3fbb2662f5e5e839966ee6a /src/load-fragment.c
parent5d909e3ec3f502f1d33d0070d8a7a5755e7615d8 (diff)
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 ...
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r--src/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c
index acceb9b51f..fc64ddd5a0 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;
}