From: Christoph Heiss Date: Tue, 13 Feb 2024 15:13:58 +0000 (+0100) Subject: low-level: initialize UI backend for 'dump-env' subcommand too X-Git-Url: https://git.proxmox.com/?p=pve-installer.git;a=commitdiff_plain;h=479b052450b00434b263d4c760220bb48a971a24 low-level: initialize UI backend for 'dump-env' subcommand too Some detection routines might try to log things and call some Proxmox::Ui functions all the way down, so just initialize it with the stdio backend to avoid errors. Signed-off-by: Christoph Heiss --- diff --git a/proxmox-low-level-installer b/proxmox-low-level-installer index d127a40..2848295 100755 --- a/proxmox-low-level-installer +++ b/proxmox-low-level-installer @@ -91,6 +91,7 @@ Proxmox::Log::init("/tmp/install-low-level-${cmd}.log"); my $env = Proxmox::Install::ISOEnv::get(); if ($cmd eq 'dump-env') { + Proxmox::UI::init_stdio({}, $env); my $out_dir = $env->{locations}->{run}; make_path($out_dir);