mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
nspawn: fix barrier-destroy call
I dropped the cleanup-helper before pushing so use _cleanup_() directly.
This commit is contained in:
parent
a47d1dfd08
commit
3496b9eeaf
@ -3073,7 +3073,7 @@ int main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
ContainerStatus container_status;
|
ContainerStatus container_status;
|
||||||
_barrier_destroy_ Barrier barrier = { };
|
_cleanup_(barrier_destroy) Barrier barrier = { };
|
||||||
struct sigaction sa = {
|
struct sigaction sa = {
|
||||||
.sa_handler = nop_handler,
|
.sa_handler = nop_handler,
|
||||||
.sa_flags = SA_NOCLDSTOP,
|
.sa_flags = SA_NOCLDSTOP,
|
||||||
|
Loading…
Reference in New Issue
Block a user