summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2015-11-30 19:30:03 +0100
committerDavid Herrmann <dh.herrmann@googlemail.com>2015-11-30 19:30:03 +0100
commitde418eb91cfa07f2d67f0eeaf0e787da4fa4feac (patch)
treeebae7c02386b958d754de33bddc6ec36fdc20fe3 /src/shared
parenta00405285e5ee25d7532f66f470b0bb7fb8df7de (diff)
parent20ba6c2ebe083a6a5021b68622637c710ea12115 (diff)
Merge pull request #2053 from poettering/selinux-fix
Two unrelated fixes
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/condition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/condition.c b/src/shared/condition.c
index a69719116c..14d18429b6 100644
--- a/src/shared/condition.c
+++ b/src/shared/condition.c
@@ -231,7 +231,7 @@ static int condition_test_security(Condition *c) {
assert(c->type == CONDITION_SECURITY);
if (streq(c->parameter, "selinux"))
- return mac_selinux_use();
+ return mac_selinux_have();
if (streq(c->parameter, "smack"))
return mac_smack_use();
if (streq(c->parameter, "apparmor"))