3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 19:22:40 +01:00

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

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 {