chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: when the leader of a session exited, don't fail
[elogind.git]
/
src
/
condition.c
diff --git
a/src/condition.c
b/src/condition.c
index ee0809f76d421a8ec32bb214b483f3b23a6f4c54..a520e43436d6d856b6c392e9606228e78c867cce 100644
(file)
--- 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, "SEL
inux"))
+ if (
streq(parameter, "sel
inux"))
return is_selinux_enabled() > 0;
#endif
return false;