summaryrefslogtreecommitdiffstats
path: root/src/pcrlock/pcrlock.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-02-02 13:30:43 +0100
committerLennart Poettering <lennart@poettering.net>2024-02-12 12:02:27 +0100
commit8279484a41e94aa8fc20385fad75a0a846ccf1af (patch)
tree5ed9a1e30ef5c4be7164706dd952939156908714 /src/pcrlock/pcrlock.c
parentMerge pull request #30209 from yuwata/sd-journal-reduce-fstat (diff)
downloadsystemd-8279484a41e94aa8fc20385fad75a0a846ccf1af.tar.xz
systemd-8279484a41e94aa8fc20385fad75a0a846ccf1af.zip
pcrlock: use log_setup()
Diffstat (limited to '')
-rw-r--r--src/pcrlock/pcrlock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pcrlock/pcrlock.c b/src/pcrlock/pcrlock.c
index 9a9da049b2..cb9d004ea7 100644
--- a/src/pcrlock/pcrlock.c
+++ b/src/pcrlock/pcrlock.c
@@ -5109,9 +5109,7 @@ static int pcrlock_main(int argc, char *argv[]) {
static int run(int argc, char *argv[]) {
int r;
- log_show_color(true);
- log_parse_environment();
- log_open();
+ log_setup();
r = parse_argv(argc, argv);
if (r <= 0)