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:
parent
711db7cab5
commit
33ec868ad0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user