summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-03 22:18:35 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-03 22:18:39 +0200
commitd24e1b4806e7e96b0c5bc0950ce79e8f76c2ab71 (patch)
tree101854d1c2afdbbdc5abacf819ba83bc5adf9065 /src
parent69528c31c64963a1279123fb17d00334c1655cd1 (diff)
condition: use 'selinux' rather than 'SELinux' as preferred spelling
The virtualization condition and others use lowercase identifiers, so for the sake of keeping things least surprising, use lowercase identifiers here too.
Diffstat (limited to 'src')
-rw-r--r--src/condition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/condition.c b/src/condition.c
index ee0809f76d..a520e43436 100644
--- a/src/condition.c
+++ b/src/condition.c
@@ -134,7 +134,7 @@ static bool test_virtualization(const char *parameter) {
static bool test_security(const char *parameter) {
#ifdef HAVE_SELINUX
- if (!strcasecmp(parameter, "SELinux"))
+ if (streq(parameter, "selinux"))
return is_selinux_enabled() > 0;
#endif
return false;