]> git.proxmox.com Git - pve-installer.git/blobdiff - proxmox-low-level-installer
sys: command: allow terminating the process early from log subroutine
[pve-installer.git] / proxmox-low-level-installer
index 9b4b773b6626982fbfc6907636c84fef4060731e..28482959ae0f96c63b54f96365774110e7f50598 100755 (executable)
@@ -78,7 +78,7 @@ sub send_reboot_ui_message {
            $secs -= 1;
        }
     } else {
-       Proxmox::UI::finished(1, "Installation complete - reboot now?");
+       Proxmox::UI::finished(1, "Installation finished - reboot now?");
     }
 }
 
@@ -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);