diff --git a/src/mdbx_load.c b/src/mdbx_load.c index fe4c19d3..38ac180c 100644 --- a/src/mdbx_load.c +++ b/src/mdbx_load.c @@ -594,7 +594,7 @@ int main(int argc, char *argv[]) { } } - if (envinfo.mi_mapsize) { + if (envinfo.mi_geo.current | envinfo.mi_mapsize) { if (envinfo.mi_geo.current) { rc = mdbx_env_set_geometry( env, (intptr_t)envinfo.mi_geo.lower, (intptr_t)envinfo.mi_geo.current,