From 8df6306c72f75558ed16aa77f4df810134b0f60a Mon Sep 17 00:00:00 2001 From: Liam Monninger <79056955+l-monninger@users.noreply.github.com> Date: Wed, 20 Dec 2023 04:45:25 -0800 Subject: [PATCH] fix: backwards compatibility with old running mechanisms --- scripts/movementctl.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/movementctl.sh b/scripts/movementctl.sh index c20f24e8..be6cee19 100755 --- a/scripts/movementctl.sh +++ b/scripts/movementctl.sh @@ -38,12 +38,10 @@ function start_avalanchego() { # Starts the avalanche-network-runner server function start_avalanche_network_runner() { - if [[ $RUN_IN_FOREGROUND == "true" ]]; then - SUBNET_TIMEOUT=10000000000000 $HOME/.movement/M1/m1/run.debug.sh - else - SUBNET_TIMEOUT=10000000000000 $HOME/.movement/M1/m1/run.debug.sh & - echo $! >> "$PID_DIR/avalanche_network_runner.pid" - fi + + cd $HOME/.movement/M1/m1 + $HOME/.movement/M1/m1/run.debug.sh + } # Starts the subnet-request-proxy Node.js server