Skip to content

Commit 2f2e452

Browse files
authored
Merge pull request #1982 from giuseppe/fix-error-leak-delete
container: return the error from cgroup_killall
2 parents 28d9634 + a154b39 commit 2f2e452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcrun/container.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,7 @@ container_delete_internal (libcrun_context_t *context, runtime_spec_schema_confi
18981898
{
18991899
ret = libcrun_cgroup_killall (cgroup_status, SIGKILL, err);
19001900
if (UNLIKELY (ret < 0))
1901-
return 0;
1901+
return ret;
19021902
}
19031903
}
19041904

0 commit comments

Comments
 (0)