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); } }