From 247c1853b4905695b28528d8835734e449192470 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 3 Jun 2024 22:55:28 -0700 Subject: [PATCH] Fix logic in live install retry loop Signed-off-by: Adam Williamson --- tests/_boot_to_anaconda.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_boot_to_anaconda.pm b/tests/_boot_to_anaconda.pm index 1744dcf2..87b02b8b 100644 --- a/tests/_boot_to_anaconda.pm +++ b/tests/_boot_to_anaconda.pm @@ -176,7 +176,7 @@ sub run { while ($tries) { $tries -= 1; assert_and_click("live_start_anaconda_icon", dclick => $dclick); - last unless (check_screen "anaconda_select_install_lang", 180); + last if (check_screen "anaconda_select_install_lang", 180); die "Launching installer failed after 5 tries!" unless ($tries); } }