HomeClusterLabs Projects

Fix: tools: One more try at removing blank lines in crm_mon.

Description

Fix: tools: One more try at removing blank lines in crm_mon.

My previous patch to remove blank lines from the end of the output just
caused a blank line to appear at the beginning instead. Because all
sections are optional, there doesn't really appear to be any clever way
of preventing extra blank lines. I've just added a variable to indicate
whether a spacer should be output between sections.

Details

Provenance
clumensAuthored on Feb 27 2020, 11:53 AM
Parents
rP537644fefb03: Fix: tools: Rework error reporting and exiting in crm_mon.
Branches
Unknown
Tags
Unknown

Event Timeline