1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 06:43:08 +00:00

Fix logic in live install retry loop

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-06-03 22:55:28 -07:00
parent e353649ed8
commit 247c1853b4

View File

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