mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
execute: drop SYNTHETIC_ERRNO because error code was received from the apply_numa_policy()
This commit is contained in:
parent
7f474ed78d
commit
33fe9e3fd0
@ -3211,7 +3211,7 @@ static int exec_child(
|
||||
if (mpol_is_valid(numa_policy_get_type(&context->numa_policy))) {
|
||||
r = apply_numa_policy(&context->numa_policy);
|
||||
if (r == -EOPNOTSUPP)
|
||||
log_unit_debug_errno(unit, SYNTHETIC_ERRNO(r), "NUMA support not available, ignoring.");
|
||||
log_unit_debug_errno(unit, r, "NUMA support not available, ignoring.");
|
||||
else if (r < 0) {
|
||||
*exit_status = EXIT_NUMA_POLICY;
|
||||
return log_unit_error_errno(unit, r, "Failed to set NUMA memory policy: %m");
|
||||
|
Loading…
x
Reference in New Issue
Block a user