From 33ec868ad03584585d2579dfe4711b4664fb12dd Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Fri, 12 Jul 2019 08:37:45 +0200 Subject: [PATCH] Hotfix for non-interactive environments --- start_ocean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_ocean.sh b/start_ocean.sh index c234e06..52086e8 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -121,7 +121,7 @@ function clean_local_contracts { } function check_max_map_count { - vm_max_map_count=$(docker run -it --rm busybox sysctl -q vm.max_map_count) + vm_max_map_count=$(docker run --rm busybox sysctl -q vm.max_map_count) vm_max_map_count=${vm_max_map_count##* } vm_max_map_count=262144 if [ $vm_max_map_count -lt 262144 ]; then