mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 16:21:26 +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 (;;) {
|
||||
ContainerStatus container_status;
|
||||
_barrier_destroy_ Barrier barrier = { };
|
||||
_cleanup_(barrier_destroy) Barrier barrier = { };
|
||||
struct sigaction sa = {
|
||||
.sa_handler = nop_handler,
|
||||
.sa_flags = SA_NOCLDSTOP,
|
||||
|
Loading…
Reference in New Issue
Block a user