vm-exec: remove redundant PBOT_VM_PORT assignment

This commit is contained in:
Pragmatic Software 2022-01-29 12:24:56 -08:00
parent f460088331
commit fd93ecd6f9
1 changed files with 0 additions and 5 deletions

View File

@ -47,11 +47,6 @@ $args->{channel} //= 'vm';
$args->{lang} //= 'c11';
$args->{'vm-port'} //= $ENV{PBOT_VM_PORT} // SERIAL_PORT;
# override vm-port with environment variable
if ($ENV{PBOT_VM_PORT}) {
$args->{'vm-port'} = $ENV{PBOT_VM_PORT};
}
my $language = lc $args->{lang};
eval {