]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: enable colored logging
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 24 Mar 2023 21:58:35 +0000 (06:58 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 25 Mar 2023 03:38:11 +0000 (12:38 +0900)
src/boot/bootctl.c

index f984c3050e9350455570c1d0f5a56fef1bdc1f13..022e680255f12a26ea6ac3d79d1312b9151214ba 100644 (file)
@@ -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)