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:39 +02:00
parent a47d1dfd08
commit 3496b9eeaf
+1 -1
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,