mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-16 21:30:52 +00:00
label: fix database check
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user