chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8573e65
)
Re-indent with spaces.
author
Auke Kok
<auke-jan.h.kok@intel.com>
Sat, 11 May 2013 20:35:38 +0000
(13:35 -0700)
committer
Auke Kok
<auke-jan.h.kok@intel.com>
Sat, 11 May 2013 20:35:38 +0000
(13:35 -0700)
src/core/condition.c
patch
|
blob
|
history
diff --git
a/src/core/condition.c
b/src/core/condition.c
index 16cae6d23b6555a734e903b81fac9091ef251822..abed4e5bf07be9950ebf80a51357a882c1ee3868 100644
(file)
--- a/
src/core/condition.c
+++ b/
src/core/condition.c
@@
-162,10
+162,10
@@
static bool test_security(const char *parameter) {
if (streq(parameter, "selinux"))
return is_selinux_enabled() > 0;
#endif
- if (streq(parameter, "apparmor"))
- return access("/sys/kernel/security/apparmor/", F_OK) == 0;
- if (streq(parameter, "smack"))
- return access("/sys/fs/smackfs", F_OK) == 0;
+
if (streq(parameter, "apparmor"))
+
return access("/sys/kernel/security/apparmor/", F_OK) == 0;
+
if (streq(parameter, "smack"))
+
return access("/sys/fs/smackfs", F_OK) == 0;
return false;
}