summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
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)