1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-25 20:01:10 +01:00

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

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