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:
7babb11
)
label: fix database check
author
Lennart Poettering
<lennart@poettering.net>
Wed, 31 Aug 2011 23:16:55 +0000
(
01:16
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 31 Aug 2011 23:16:55 +0000
(
01:16
+0200)
src/label.c
patch
|
blob
|
history
diff --git
a/src/label.c
b/src/label.c
index 3df7e55ba41316c2d44959dba238f2f1f2513354..d9d195b50fa0fbd29a8dfd9d7b252c58490310b6 100644
(file)
--- a/
src/label.c
+++ b/
src/label.c
@@
-291,7
+291,7
@@
int label_mkdir(const char *path, mode_t mode) {
int r;
security_context_t fcon = NULL;
int r;
security_context_t fcon = NULL;
- if (!use_selinux() || label_hnd)
+ if (!use_selinux() ||
!
label_hnd)
goto skipped;
if (path_is_absolute(path))
goto skipped;
if (path_is_absolute(path))