HomeClusterLabs Projects

Fix: tools: Don't close state->stream.

Description

Fix: tools: Don't close state->stream.

If state->stream is stdout (like crm_mon currently sets it up to be),
then closing this will result in no other output being visible. The
proper file handle should be closed when the program exits.

Details

Provenance
clumensAuthored on Aug 9 2019, 11:53 AM
Parents
rPe10c7ce9c817: Feature: libcrmcommon: Support old-style XML output.
Branches
Unknown
Tags
Unknown

Event Timeline