1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-30 11:05:50 +00:00

unlock session when locked

This commit is contained in:
Lukáš Růžička 2025-08-01 16:04:16 +02:00 committed by Adam Williamson
parent a8f3c60b78
commit 71368079bb

View File

@ -19,6 +19,11 @@ sub run {
# and lock parallel connection. # and lock parallel connection.
mutex_lock("kaermorhen_opened"); mutex_lock("kaermorhen_opened");
# Unlock the session if it has locked in the meantime.
if (check_screen("panel_screen_locked")) {
type_very_safely("$password\n");
}
# Open the Connections and start the connection. # Open the Connections and start the connection.
menu_launch_type("connections"); menu_launch_type("connections");
wait_still_screen(3); wait_still_screen(3);