summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-03-25 06:58:35 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-03-25 12:38:11 +0900
commit87dc8b08514365bc2bb3be62cae9331d2c863f5c (patch)
tree465405425032a81b331e68e9d6d42f1b68eff9a0 /src/boot
parent4688b08984cef43414a236d1c2afc5860a1703b9 (diff)
downloadsystemd-87dc8b08514365bc2bb3be62cae9331d2c863f5c.tar.gz
bootctl: enable colored logging
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/bootctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index f984c3050e..022e680255 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)