diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-09-01 01:16:55 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-09-01 01:16:55 +0200 |
commit | cfc27668b0fec2c56db0fb118804ede773bef876 (patch) | |
tree | ac5293d392b1d613b904170d21f869a07e79b436 /src/label.c | |
parent | 7babb117a4a38ce9707830059801342e16ca7eac (diff) |
label: fix database check
Diffstat (limited to 'src/label.c')
-rw-r--r-- | src/label.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/label.c b/src/label.c index 3df7e55ba4..d9d195b50f 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)) |