From 26a473393b38cbf0db3b7da0ecd63a50d84ee406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Thu, 30 Oct 2025 12:27:12 +0100 Subject: [PATCH] Unset variable after use --- tests/_boot_to_anaconda.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/_boot_to_anaconda.pm b/tests/_boot_to_anaconda.pm index 70ad1195..c927a50e 100644 --- a/tests/_boot_to_anaconda.pm +++ b/tests/_boot_to_anaconda.pm @@ -289,6 +289,10 @@ sub run { # show by now it never will, so we'll just wait for the # hub to show up. assert_screen ["anaconda_main_hub", "anaconda_webui_installmethod"], 900; + # Unset the USBBOOT variable as we have already booted. + if (get_var('USBBOOT')) { + set_var('USBBOOT', undef, reload_needles => 1); + } _handle_incomplete_hub; } }