path: root/src/cgroups-agent
diff options
authorSven Eden <>2017-02-23 17:20:49 +0100
committerSven Eden <>2017-03-14 10:23:22 +0100
commitc6999740c1a68767c5397306b8d7e14e08533111 (patch)
tree124f416e54ea418a3538f3e53457aa809112ab69 /src/cgroups-agent
parent3c55423a96cf68ea1c947b512123de2f0bc95ec0 (diff)
Fixed gawk script for git-tar target.
The previous variant was nice and sleek. But unfortunately, there are constructs like: #if 0 (... old code ...) #else (... alternative code for elogind ...) #endif // 0 These fragments couldn't be handled by the old code, but can by the new one. To make this work, the precompiler macros must be set like shown above. Apart from that, all lines like: /// Any doxygen one-line-comments with elogind in it are removed are removed, too. Please note the three slashes. And finally, all commented out #include directives are removed as well.
Diffstat (limited to 'src/cgroups-agent')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgroups-agent/cgroups-agent.c b/src/cgroups-agent/cgroups-agent.c
index 975ccaae2..e72c5c1e0 100644
--- a/src/cgroups-agent/cgroups-agent.c
+++ b/src/cgroups-agent/cgroups-agent.c
@@ -63,7 +63,7 @@ int main(int argc, char *argv[]) {
/* If dbus isn't running or responding, there is nothing
* we can do about it. */
log_debug_errno(r, "Failed to open system bus: %m");
+#endif // 0
@@ -77,7 +77,7 @@ int main(int argc, char *argv[]) {
log_debug_errno(r, "Failed to send signal message on private connection: %m");
log_debug_errno(r, "Failed to send signal message: %m");
+#endif // 0