community.mongodb
community.mongodb copied to clipboard
Fix transparent page grep
SUMMARY
"[" char should be escaped in the grep command or else it will print every char even when transparent page is set to always:
ISSUE TYPE
- Bugfix Pull Request
COMPONENT NAME
community.mongodb.mongodb_linux
ADDITIONAL INFORMATION
Content of test file
$ cat /tmp/never
[always] never
$ grep -o '[never]' /tmp/never
n
e
v
e
r
$ grep -o '\[never\]' /tmp/never
$