chiark / gitweb /
mount: block creation of mount units for API file systems
[elogind.git] / src / condition.c
index ee0809f76d421a8ec32bb214b483f3b23a6f4c54..a520e43436d6d856b6c392e9606228e78c867cce 100644 (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;