summaryrefslogtreecommitdiffstats
path: root/src/cgroups-agent
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-17 07:12:28 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-31 17:13:44 +0100
commitd2acb93dc52b23a9e5d36dda48c1988aa6e9adf1 (patch)
tree011b4f6b2ca1ad39cc964ef66f3f5c6e2d91608e /src/cgroups-agent
parentlog: make tools also read the kernel command line when run as a service (diff)
downloadsystemd-d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1.tar.xz
systemd-d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1.zip
tree-wide: enable colorized logging for daemons when run in console
It may be useful when debugging daemons.
Diffstat (limited to 'src/cgroups-agent')
-rw-r--r--src/cgroups-agent/cgroups-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgroups-agent/cgroups-agent.c b/src/cgroups-agent/cgroups-agent.c
index eeb4ba80f5..071cba3099 100644
--- a/src/cgroups-agent/cgroups-agent.c
+++ b/src/cgroups-agent/cgroups-agent.c
@@ -22,7 +22,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE;
}
- log_setup_service();
+ log_setup();
fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0);
if (fd < 0) {