add space to output of "fail2ban-client get dbpurgeage"#4012
Conversation
Looks intentional to me:
See https://manpages.debian.org/bookworm/fail2ban/jail.conf.5.en.html#TIME_ABBREVIATION_FORMAT
It is also intentional (historic), in this way it would show fail2ban (and its tools) output several blocks: However questionable and maybe doesn't make sense for single parameter. But because it is historic (and can be parsed by some tools or user-side scripts), I don't think it is good idea to change the behavior of beautifier output. At least not before next major release. |
When running
fail2ban-client get dbpurgeage, I noticed there is no space between the value and the string "dbpurgeage" in the output. This PR fixes that.BEFORE:
AFTER:
While preparing the patch, I noticed the apostrophe ` at the beginning of the line which seems out of place. I noticed its presence in a number of other places in the code, so I wonder if it's intentional. If not, I'd be happy to prepare another PR. Let me know.