[systemd-commits] src/label.c
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Aug 31 16:17:05 PDT 2011
src/label.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cfc27668b0fec2c56db0fb118804ede773bef876
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Sep 1 01:16:55 2011 +0200
label: fix database check
diff --git a/src/label.c b/src/label.c
index 3df7e55..d9d195b 100644
--- 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;
- if (!use_selinux() || label_hnd)
+ if (!use_selinux() || !label_hnd)
goto skipped;
if (path_is_absolute(path))
More information about the systemd-commits
mailing list