OpenSearch/distribution/packages
Dimitrios Liappis 470ac0ec95
Don't fail init script if `/proc/.../max_map_count` absent (#38789)
Currently init scripts fail when `/proc/sys/vm/max_map_count` is not present
with `-bash: [: too many arguments`.

Fix conditional logic to avoid trying to set the `max_map_count` sysctl if not
present.

Backport of: #35933
Relates: #27236
2019-02-13 09:56:47 +02:00
..
deb Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
oss-deb Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00
oss-rpm Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00
rpm Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
src Don't fail init script if `/proc/.../max_map_count` absent (#38789) 2019-02-13 09:56:47 +02:00
build.gradle Add OS/architecture classifier to distributions (#37881) 2019-01-29 11:18:30 -08:00