Commit c421578a authored by Harald Sitter's avatar Harald Sitter

port from using internals to proper api to get the current console

the previous code simply used internal elements of the testapi which wasnt
strictly speaking public api
parent cd14040d
......@@ -76,7 +76,7 @@ sub offline {
return;
}
my $previous_console = $testapi::selected_console;
my $previous_console = current_console;
select_console 'log-console';
{
assert_script_sudo 'nmcli networking off';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment