mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
label: fix database check
This commit is contained in:
@@ -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