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.
This commit is contained in:
Lennart Poettering
2011-04-03 22:18:39 +02:00
parent 69528c31c6
commit d24e1b4806
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;