mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
core: fix mac_selinux_setup return value check
Introduced in 74da609f0d
. CID #1384210.
This commit is contained in:
parent
1330648562
commit
97149f405c
@ -2182,7 +2182,7 @@ static int initialize_security(
|
||||
|
||||
dual_timestamp_get(security_start_timestamp);
|
||||
|
||||
r = mac_selinux_setup(loaded_policy) < 0;
|
||||
r = mac_selinux_setup(loaded_policy);
|
||||
if (r < 0) {
|
||||
*ret_error_message = "Failed to load SELinux policy";
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user