From cfc27668b0fec2c56db0fb118804ede773bef876 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 1 Sep 2011 01:16:55 +0200 Subject: [PATCH] label: fix database check --- src/label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/label.c b/src/label.c index 3df7e55b..d9d195b5 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)) -- 2.39.5