Hotfix for non-interactive environments

This commit is contained in:
Javier Cortejoso 2019-07-12 08:37:45 +02:00
parent 711db7cab5
commit 33ec868ad0
No known key found for this signature in database
GPG Key ID: FBEEF3131E39EBCF
1 changed files with 1 additions and 1 deletions

View File

@ -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