From: Yu Watanabe Date: Fri, 24 Mar 2023 21:58:35 +0000 (+0900) Subject: bootctl: enable colored logging X-Git-Tag: v254-rc1~930 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87dc8b08514365bc2bb3be62cae9331d2c863f5c;p=thirdparty%2Fsystemd.git bootctl: enable colored logging --- 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)