summaryrefslogtreecommitdiffstats
path: root/src/dissect
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-12-02 15:02:44 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-06 04:25:00 +0100
commit5acb31a6830e3c9c35b64754802f8214780c96cb (patch)
tree7fc7b8cb9d488b95f74acaa56768a692fc97d207 /src/dissect
parentjournald: fix build error (diff)
downloadsystemd-5acb31a6830e3c9c35b64754802f8214780c96cb.tar.xz
systemd-5acb31a6830e3c9c35b64754802f8214780c96cb.zip
dissect: show color in log output
Diffstat (limited to 'src/dissect')
-rw-r--r--src/dissect/dissect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c
index 3892bfb208..3a882ee12c 100644
--- a/src/dissect/dissect.c
+++ b/src/dissect/dissect.c
@@ -1330,8 +1330,7 @@ static int run(int argc, char *argv[]) {
_cleanup_(loop_device_unrefp) LoopDevice *d = NULL;
int r;
- log_parse_environment();
- log_open();
+ log_setup();
r = parse_argv(argc, argv);
if (r <= 0)