From fd93ecd6f9022ed8b1385e1f4a777a36b8c0691e Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 29 Jan 2022 12:24:56 -0800 Subject: [PATCH] vm-exec: remove redundant PBOT_VM_PORT assignment --- applets/compiler_vm/host/bin/vm-exec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/applets/compiler_vm/host/bin/vm-exec b/applets/compiler_vm/host/bin/vm-exec index 3b31452a..15d36c2a 100755 --- a/applets/compiler_vm/host/bin/vm-exec +++ b/applets/compiler_vm/host/bin/vm-exec @@ -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 {