From 87dc8b08514365bc2bb3be62cae9331d2c863f5c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 25 Mar 2023 06:58:35 +0900 Subject: [PATCH] bootctl: enable colored logging --- src/boot/bootctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index f984c3050e9..022e680255f 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -455,8 +455,7 @@ static int run(int argc, char *argv[]) { _cleanup_(umount_and_rmdir_and_freep) char *unlink_dir = NULL; int r; - log_parse_environment(); - log_open(); + log_setup(); /* If we run in a container, automatically turn off EFI file system access */ if (detect_container() > 0) -- 2.47.3