The zgrep syntax for a regex search was incorrect.
The -E argument is required.
This meant that if a gzipped file (ie: bash.log.gz)
was included in a collect, then its passwords would
not be redacted.
Closes-Bug: 1981101
Test Plan:
Verify that a gzipped bash log has its password
redacted when running collect on CentOS and Debian.
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I497813949b65137a93a91bf58ede2c591fb15f62