Skip to content

Commit

Permalink
Merge pull request #1274 from eriksjolund/cgroup_systemd_fix_error_re…
Browse files Browse the repository at this point in the history
…turn_value

cgroup-systemd: fix error return value
  • Loading branch information
rhatdan authored Aug 19, 2023
2 parents d1b5510 + c90c3ca commit ea0abfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcrun/cgroup-systemd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ libcrun_update_resources_systemd (struct libcrun_cgroup_status *cgroup_status,
sd_err = sd_bus_message_append (m, "sb", cgroup_status->scope, 1);
if (UNLIKELY (sd_err < 0))
{
ret = crun_make_error (err, -ret, "sd-bus message append");
ret = crun_make_error (err, -sd_err, "sd-bus message append");
goto exit;
}

Expand Down

0 comments on commit ea0abfa

Please sign in to comment.