From: Christoph Heiss Date: Tue, 21 Nov 2023 10:45:50 +0000 (+0100) Subject: tui: add missing argument for low-level installer test-session X-Git-Url: https://git.proxmox.com/?p=pve-installer.git;a=commitdiff_plain;h=18fa0cf8faf5a986dd6236ec4aed6a0502fac2c3 tui: add missing argument for low-level installer test-session This broke running the TUI installer in debug mode, does not effect release builds in any way. Fixes: 4b4dfa1 ("low level: testmode: take path to disk image instead of using /dev/null") Signed-off-by: Christoph Heiss --- diff --git a/proxmox-installer-common/src/setup.rs b/proxmox-installer-common/src/setup.rs index 70bdc3c..472e1f2 100644 --- a/proxmox-installer-common/src/setup.rs +++ b/proxmox-installer-common/src/setup.rs @@ -373,7 +373,7 @@ pub fn spawn_low_level_installer(test_mode: bool) -> io::Result let (path, args, envs): (&str, &[&str], Vec<(&str, &str)>) = if test_mode { ( "./proxmox-low-level-installer", - &["-t", "start-session-test"], + &["-t", "/dev/null", "start-session-test"], vec![("PERL5LIB", ".")], ) } else {