summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-09-19 17:50:41 +0200
committerDaniel Mack <daniel@zonque.org>2014-09-20 18:47:45 +0200
commit303174638af7a8fcf6211fb99b8d07c9d270567e (patch)
tree2851c39770fcc329c7834d70c37de5aedf3f2948 /src
parent9158d03e4042876b7627947b3489fd4d49c7553a (diff)
bus-policy: story mandatory items in right list
Diffstat (limited to 'src')
-rw-r--r--src/bus-proxyd/bus-policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bus-proxyd/bus-policy.c b/src/bus-proxyd/bus-policy.c
index d2eace9405..8676d31f62 100644
--- a/src/bus-proxyd/bus-policy.c
+++ b/src/bus-proxyd/bus-policy.c
@@ -332,7 +332,7 @@ static int file_load(Policy *p, const char *path) {
if (policy_category == POLICY_CATEGORY_DEFAULT)
LIST_PREPEND(items, p->default_items, i);
else if (policy_category == POLICY_CATEGORY_MANDATORY)
- LIST_PREPEND(items, p->default_items, i);
+ LIST_PREPEND(items, p->mandatory_items, i);
else if (policy_category == POLICY_CATEGORY_USER) {
const char *u = policy_user;