From c6999740c1a68767c5397306b8d7e14e08533111 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Thu, 23 Feb 2017 17:20:49 +0100 Subject: 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. --- src/core/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 1733521cd..c0bfecbe8 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -1297,7 +1297,7 @@ int manager_setup_cgroup(Manager *m) { #else return log_error_errno(EOPNOTSUPP, "Unified cgroup hierarchy not supported: %m"); -#endif // elogind +#endif // 0 } else if (m->running_as == MANAGER_SYSTEM) { /* On the legacy hierarchy we only get * notifications via cgroup agents. (Which -- cgit v1.2.3