mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-12-02 05:57:21 +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 {
|
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=${vm_max_map_count##* }
|
||||||
vm_max_map_count=262144
|
vm_max_map_count=262144
|
||||||
if [ $vm_max_map_count -lt 262144 ]; then
|
if [ $vm_max_map_count -lt 262144 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user