1
0
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:
David Herrmann 2014-07-17 11:48:03 +02:00
parent a47d1dfd08
commit 3496b9eeaf

View File

@ -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,