summaryrefslogtreecommitdiffstats
path: root/src/volatile-root/volatile-root.c
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/volatile-root/volatile-root.c
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/volatile-root/volatile-root.c')
-rw-r--r--src/volatile-root/volatile-root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volatile-root/volatile-root.c b/src/volatile-root/volatile-root.c
index ee3532cc02..242ef81ecf 100644
--- a/src/volatile-root/volatile-root.c
+++ b/src/volatile-root/volatile-root.c
@@ -119,7 +119,7 @@ static int run(int argc, char *argv[]) {
dev_t devt;
int r;
- log_setup_service();
+ log_setup();
if (argc > 3)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),